Look for a plant that looks like a bundle of green pencils, thin, smooth stems branching again and again, with almost no leaves, standing upright in a pot, and you have found the pencil cactus (Euphorbia tirucalli), a succulent of the semi-arid tropics of Africa, grown around the world as a houseplant, because it is striking, it is architectural, and it asks for almost nothing but sun and a dry pot. It is not a cactus at all, but a spurge, and its stems are its leaves, and its sap is its warning, because the milky sap that runs from a broken stem is toxic, irritating the skin and the eyes, and poisonous if it is eaten, so that a plant that looks so simple is a plant that must be handled with care.
The name pencil cactus is a good one, and it comes from the stems, which are as thin as pencils, smooth and green, branching into a thicket, and the name is a misnomer, because the plant is not a cactus, and it has no spines, but the name has stuck, and the plant is sold as a pencil cactus in every nursery, where it stands in a pot, a bundle of green pencils, waiting for a sunny sill.
This guide covers pencil cactus in full: what its pencil-thin stems look like, where it grows wild in the semi-arid tropics of Africa, what parts of it are toxic and what to do if the sap touches skin or eyes, and how to grow it safely in a sunny, dry pot — and why it must be kept away from children and pets. It is written for houseplant growers who want a striking succulent, and for readers who want to know why a plant with no spines can still hurt.
Key Facts
| Scientific name | Euphorbia tirucalli L. |
|---|---|
| Family | Euphorbiaceae |
| Order | Malpighiales |
| Native distribution | Africa, in semi-arid tropical climates |
| Height | 0.3-1 m |
| Lifespan | Perennial |
| IUCN status | — |
| Safety note | TOXIC. The milky sap of pencil cactus irritates skin and eyes and is poisonous if eaten — wear gloves and eye protection when handling, keep it away from children and pets, and wash sap off skin at once. Do not eat any part of it. |
Toxic Parts and Symptoms of Pencil cactus

The sap is the toxic part of pencil cactus, and it is a milky, white latex that runs from any stem that is broken, and it contains diterpene esters that irritate the skin and the eyes, and that are poisonous if eaten. The sap is present in every part of the plant, in the stems above all, because the stems are the plant’s main body, and a stem that is cut will bleed sap, while a leaf that is broken will bleed less, because the leaves are tiny and short-lived.
The sap irritates the skin on contact, causing a red, itchy rash, and it irritates the eyes on contact, causing pain, watering and temporary blindness, and it is poisonous if it is eaten, causing vomiting, diarrhoea and a burning pain in the mouth and the throat. The sap is also a sensitiser, so that a person who handles it often may develop an allergy, and a person who is allergic should not handle the plant at all, because the reaction will be worse each time.
Children and pets are at the greatest risk, because a child who breaks a stem may rub the sap into their eyes, and a pet that chews a stem may swallow the sap, so that a plant that is kept in a house with children or pets should be kept out of reach, on a high shelf or in a room that the children and pets do not enter, and a stem that is broken should be cleaned up at once, with gloves, and the sap washed off the floor, so that no one touches it.
Identifying Pencil cactus and Its Lookalikes

Pencil cactus is a succulent shrub, usually 0.3 to 1 metre tall in a pot, and much taller in the wild, where it can reach several metres, with thin, cylindrical, green stems and almost no leaves. The stems are the plant’s most familiar mark, and they are as thin as pencils, smooth and green, branching again and again into a thicket, so that a plant in a pot is a bundle of green pencils, while a plant in the wild is a small tree of green pencils, and the stems do the work of the leaves, photosynthesizing in the sun, while the leaves themselves are tiny, falling soon after they appear.
The leaves are small, narrow and short-lived, appearing at the tips of the young stems and falling within weeks, so that a plant that is seen in a pot is a plant with no leaves at all, only stems, and the flowers are small, yellow-green, borne in clusters at the tips of the stems, inconspicuous beside the stems themselves, while the seeds that follow are small and light, and they fall near the parent plant, though the plant is usually propagated by cuttings, because they root so easily.
The sap is the plant’s warning, and it is a milky, white latex that runs from any stem that is broken, and it irritates the skin, causing a rash, and it irritates the eyes, causing pain and temporary blindness, and it is poisonous if it is eaten, causing vomiting and diarrhoea, so that a plant that is handled should be handled with gloves and with eye protection, and the sap should be washed off the skin at once, with soap and water, and out of the eyes with clean water, for fifteen minutes.
The roots are shallow and fibrous, growing in the top soil where the moisture is, though the plant stores water in its stems, so that it can survive a drought, and a plant that is grown in a pot will live for many years, growing steadily through its first years and then branching further each year, while the stems lengthen and the thicket thickens, and a pot that was small in spring will be a thicket by autumn.
Through the seasons the pencil cactus changes little in appearance, and a grower who knows it will recognise it at any time of year, by its shape and by its spines. In spring it is all new growth, in summer it is all flower and fruit, in autumn it is all ripening and rest, and in winter it is all stillness, living on the water stored in its stems. Each season has its own work: watering in spring and summer, and leaving it alone in winter, and a cactus that is cared for in each season will flower well in the next.
| Spurge | Stems | Sap |
|---|---|---|
| Pencil cactus | Thin, green, pencil-like | Milky, toxic, irritant |
| Crown of thorns | Thick, spiny, grey | Milky, toxic, irritant |
| African milk tree | Thick, angled, cactus-like | Milky, toxic, irritant |
First Aid: What to Do If Someone Eats Pencil cactus
If the sap touches the skin, wash it off at once, with soap and plenty of water, and do not rub the skin, because rubbing will spread the sap, and if a rash appears, keep the skin covered and seek medical advice, especially if the rash is severe or if it spreads. If the sap gets into the eyes, rinse them at once, with clean water, for at least fifteen minutes, holding the eyelids open, and seek medical help immediately, because the sap can cause a serious eye injury, and an eye that is rinsed quickly will recover better than an eye that is left.
If the sap is swallowed, do not make the person vomit, and do not give them anything to eat or drink, except a small sip of water, and seek medical help immediately, taking a piece of the plant or a photograph of it, so that the doctor can identify it, and keep the person calm and still, because a person who is poisoned by pencil cactus needs medical care, not home remedies.
TOXIC. The milky sap of pencil cactus irritates skin and eyes and is poisonous if eaten — wear gloves and eye protection when handling, keep it away from children and pets, and wash sap off skin at once. Do not eat any part of it.
Safety comes first with this plant, because it is toxic. Keep it away from children and pets, wash hands after handling it, and never eat any part of it.
If any part is eaten, seek medical help at once, and take a sample of the plant with you so that it can be identified. No part of this article is medical advice.
Keeping Pencil cactus Safe in the Garden and Home
A pencil cactus needs sun, very well-drained soil and very little water, and it will not thrive without them. Plant it in a sunny spot, in a gritty mix of soil, sand and gravel, in a pot with drainage holes or in a raised bed, and never plant it where water stands after rain. Handle it with thick gloves or with folded newspaper, because the spines are sharp and the fine hairs of some kinds are hard to see and harder to remove.
Water the plant sparingly, and only when it is growing. In spring and summer, water thoroughly and then let the soil dry out completely before watering again, because a cactus that stands in wet soil will rot from the roots, and rot is the commonest cause of death in cultivation. In winter, water little or not at all, and keep the plant cool and dry, so that it rests as it would in the wild.
Grow pencil cactus in bright light, in a gritty, well-drained soil, and plant it in a pot with drainage holes, and water it sparingly, letting the soil dry out between waterings, because a plant that is kept wet will rot, while a plant that is kept dry will thrive. Wear gloves and eye protection when handling it, because its sap irritates skin and eyes, and keep it away from children and pets, and bring it indoors before the first frost, because it is killed by frost, and prune it in spring, to keep it compact, taking care to wash the sap off at once.
Feed the plant lightly, and repot it only when it needs it. A weak cactus fertiliser once or twice in the growing season is enough, and too much food will make soft growth that rots easily. Repot in spring, when the plant is beginning to grow, moving it to a pot only slightly larger than the old one, and leave it dry for a week after repotting so that any damaged roots can heal.
Watch for pests, and give the plant light and air. Mealybugs and scale insects are the commonest pests, and they hide in the folds of the plant, so check the plant regularly and remove them with a cotton bud dipped in alcohol. A cactus that is kept in the dark will stretch and pale, and a cactus that is kept in still, damp air will rot, so a sunny windowsill or a bright, airy greenhouse suits it best.
Keep a record of the plant, and learn its rhythm over the years, because a pencil cactus is not the same in every season. Note when it grows, when it flowers, and how it responds to water, and use that record to judge when to water and when to leave it alone. A cactus that is watched will tell its grower what it needs, in the colour of its stems, in the firmness of its flesh and in the growth of its new shoots, and a grower who listens will have a plant that lives for decades.
How Pencil cactus Grows

A pencil cactus begins life as a seed, or as a cutting or a pad that roots where it falls. The seed is small, and it germinates in warm, moist soil, sending down a root and pushing up a tiny green shoot, and the young plant grows slowly, because it stores water rather than growing fast. In the wild a young cactus is fragile, and many seedlings die in their first dry season, but the ones that survive grow steadily, putting on a little growth each year.
Once established, the pencil cactus grows through an annual cycle of growth and rest. In the warm months it grows, putting out new stems, branches or pads, and in its season it flowers, often with large, showy blooms that open for a day or a few days and are visited by bees, moths and birds. A flower that is pollinated sets fruit, and the fruit ripens slowly, often turning bright red or yellow, and it is eaten by animals that carry the seeds away.
A pencil cactus grows steadily, and a cutting planted in a gritty soil will root within a few weeks, and put out new stems that branch again and again, so that a pot that was small in spring will be a thicket by autumn. The plant is a perennial in a warm climate, living for many years, and a plant that is watered sparingly and given full sun will stay green and grow freely, while a plant that is overwatered will rot, so that a plant that is watered little is a plant that lives long.
The fruit and the pads are the plant’s way of travelling. Animals eat the fruit and drop the seeds far from the parent plant, and a pad that breaks off can root where it lands, making a new plant without seed at all. People have carried the pencil cactus much further, planting it in gardens and pots on every continent, so that a plant that once grew in one desert is now grown in windowsills and rock gardens around the world.
Through the year the plant follows the dry and the wet. It grows when water is available, and it rests in the dry season, living on the water stored in its thick stems, and it can survive months without rain. A cactus that is well grown can live for decades, and some kinds live for a century or more, growing slowly but steadily, and flowering year after year once they are mature.
The age of a pencil cactus can be read in its size, in the thickness of its stems and in the number of its branches, and an old cactus behaves differently from a young one. A young cactus grows fast for a cactus, putting on a few centimetres a year, while a mature cactus grows slowly and flowers well, putting its energy into blooms and fruit. Growers who plant a pencil cactus plant it for the decades to come, knowing that it will grow slowly but steadily, and that it will outlive them if it is well cared for.
Where Pencil cactus Grows

Pencil cactus is native to Africa, in semi-arid tropical climates, where it grows in the open, sunny places, on the rocks and on the dry soils, in places where the rain is scarce and the sun is strong. It grows in the lowlands and in the hills of eastern and southern Africa, and it is absent from the wet tropics, because it needs a dry soil to grow, and a plant that is grown in a wet soil will rot.
In cultivation the plant is now grown as an ornamental houseplant and garden plant worldwide, in the gardens of the warm regions above all, where it is planted as a specimen, in a pot and in the ground, and in the houses of the cold regions, where it is grown in a pot on a sunny sill, while it has also escaped in some places, where it grows wild on the rocks and on the walls, though it is not listed as a serious invader in most places.
The plant is also a plant of the dry, and it grows where the rain is scarce, storing water in its stems, so that a plant on a rock is a plant that survives the drought, and a garden that holds it is a garden that holds a piece of the African drylands, while the sap that runs from its stems is a reminder that a plant that survives the drought is a plant that defends itself.
The distribution of the pencil cactus is not fixed, and it is still changing, as gardeners plant it in new regions and as climates shift. A plant that was once grown only in one valley may now be grown on several continents, and a plant that was once common may now be rare in the wild, though it is common in gardens. The map of where a plant grows is a map of people as much as of nature, and it is drawn by trade, by gardens and by the choices of growers, as much as by soil and by climate.
Traditional Use of Pencil cactus

Pencil cactus is grown first of all as a houseplant, and it is one of the most striking of all succulents, because its stems are thin and green, its habit is architectural, and it trails and branches into a thicket, so that a pot of it on a sunny sill is a pot that looks like a piece of modern art, and a large plant in a garden is a plant that dominates the bed.
The plant is also grown as a hedge in the tropics, where its thicket forms a living fence, and where its toxic sap keeps the animals away, while its stems have been used as a fuel, and its sap has been used as a poison, in the past, though those uses are history, not a recommendation, and the plant should not be used for any purpose that brings its sap into contact with skin or eyes.
Pencil cactus is not eaten, and it has no use as a food or a medicine, and it must never be eaten, because its sap is poisonous, causing vomiting and diarrhoea, and irritating the mouth and the throat, so that a plant that is kept in a house with children or pets should be kept out of reach, and a stem that is broken should be handled with gloves, and the sap washed off at once.
Who Named Pencil cactus

The scientific name is Euphorbia tirucalli L., and the authority records that Carl Linnaeus published it in his Species Plantarum in 1753. The genus name Euphorbia honours Euphorbus, the physician of Juba II, the king of Mauretania, and the species name tirucalli is the Malayalam name for the plant, from the coast of India, where it was known before the Europeans arrived, so that the whole name is a physician’s name and a local name at once, in Greek and in Malayalam.
Carl Linnaeus published the name Euphorbia tirucalli in his Species Plantarum in 1753, and the name has stood ever since. The genus name Euphorbia honours Euphorbus, the physician of a king of Mauretania, and the species name tirucalli is the Malayalam name for the plant, from the coast of India, where it was known before the Europeans arrived, so that the whole name is a physician’s name and a local name at once.
The genus belongs to the spurge family, Euphorbiaceae, in the order Malpighiales, and it holds more than 2,000 species, all of them with a milky, toxic sap, from the pencil cactus of Africa to the poinsettia of Mexico. The genus is one of the largest of all plant genera, and its members are often confused, so that a plant that looks like a pencil cactus may be another spurge, and only the thin, pencil-like stems tell it apart with certainty.
Modern taxonomy places the pencil cactus in the family Euphorbiaceae and the order Malpighiales, under the APG IV system, which groups flowering plants by their evolutionary relationships rather than by their appearance alone. The classification in the Key Facts table follows that system, and it is the same classification used by Kew Plants of the World Online, so a reader who looks the plant up there will find it in the same family and order.
The family Euphorbiaceae is the wider group to which the pencil cactus belongs, and it is a group that a reader who knows one member will partly know already. Families are defined by the structure of their flowers and their fruit, and members of one family often share habits, scents and uses, though they may look very different at first glance. Knowing the family helps a gardener to guess how a plant will behave: how it will grow, what soil it will like, and what pests it may suffer from, because plants in one family often share the same needs and the same troubles.
Related Species
The pencil cactus belongs to the cacti and succulents of Plant Atlas. These related pages cover other plants from the same group.
Frequently asked questions
How do you care for Pencil cactus?
The pencil cactus (pencil cactus (Euphorbia tirucalli)) is a member of the family Euphorbiaceae, and it is native to Africa, in semi-arid tropical climates. It is grown for its ornamental houseplant and garden plant, and it is described in full in the sections above, from its growth and its characteristics to its distribution and its care.
For the detail behind this question, see the section that covers it: growth and lifecycle, characteristics, distribution, growing and care, or uses and safety. If the question is about eating or using the plant, read the safety note first, because some plants that look alike are not alike at all.
How often should you water Pencil cactus?
Water the pencil cactus while it is growing, and water deeply rather than often, so that the roots grow down instead of staying near the surface. How often depends on the soil, the weather and the season, and a plant in a pot needs water more often than one in open ground.
In winter, or in the dormant season, water less, and let the soil dry a little between waterings, because most kinds of pencil cactus dislike wet feet when they are resting. Always water at the base of the plant, in the morning, so that the leaves dry during the day.
How do you propagate Pencil cactus?
The pencil cactus (pencil cactus (Euphorbia tirucalli)) is a member of the family Euphorbiaceae, and it is native to Africa, in semi-arid tropical climates. It is grown for its ornamental houseplant and garden plant, and it is described in full in the sections above, from its growth and its characteristics to its distribution and its care.
For the detail behind this question, see the section that covers it: growth and lifecycle, characteristics, distribution, growing and care, or uses and safety. If the question is about eating or using the plant, read the safety note first, because some plants that look alike are not alike at all.
Does Pencil cactus need full sun?
The pencil cactus (pencil cactus (Euphorbia tirucalli)) is a member of the family Euphorbiaceae, and it is native to Africa, in semi-arid tropical climates. It is grown for its ornamental houseplant and garden plant, and it is described in full in the sections above, from its growth and its characteristics to its distribution and its care.
For the detail behind this question, see the section that covers it: growth and lifecycle, characteristics, distribution, growing and care, or uses and safety. If the question is about eating or using the plant, read the safety note first, because some plants that look alike are not alike at all.
Is Pencil cactus toxic to pets?
Yes, the pencil cactus is toxic, and no part of it should be eaten. The plant contains compounds that can cause nausea, vomiting and other symptoms if eaten, and handling it can irritate the skin in some people. Keep it away from children and pets.
If any part is eaten, seek medical help at once, and take a sample of the plant so that it can be identified. Wear gloves when handling the plant, wash hands afterwards, and do not plant it where children play or where animals graze.
What should I do if a child or a pet eats pencil cactus?
Call your local poison control centre or emergency number at once, and do not wait for symptoms to appear. TOXIC.
The milky sap of pencil cactus irritates skin and eyes and is poisonous if eaten — wear gloves and eye protection when handling, keep it away from children and pets, and wash sap off skin at once. Do not eat any part of it.
Do not make the person or animal vomit unless a doctor or poison control tells you to, and do not give food, drink or home remedies. If you can do so safely, keep a piece of the plant — a leaf, a flower or a seed — to show the doctor or vet, and keep children and pets away from the plant until it is removed or fenced off.


