Place the potted cereus in an indoor location that receives full, all-day sunlight. Place outdoor pots in an area that receives some afternoon shade during the heat of summer.
Water the cereus when the soil begins to dry out completely. Provide enough water to thoroughly moisten the soil, then allow it to dry again before the next irrigation.
Fertilize once a month from March through September. Use a soluble houseplant fertilizer applied at the rate recommended on the label for cactus plants.
Move indoor plants to a warm room that remains completely dark from sunset to morning during the summer flowering period. Cereus will not bloom if exposed to indoor lights at night.
Bring outdoor pots indoors before the first expected fall frost. Place them in a warm, sunny room.
Prune cereus in spring to maintain its size and shape. Thin out up to half of the plant's new growth with a pair of shears. Cut pencil-thin offshoots at the base of the plant. Trim the flat, segmented portions at the joint near the desired length.