If you were cleaning out a flower bed, cutting back last year’s stems, and suddenly found a tan-to-brown blob that looks uncannily like a toasted marshmallow glued to a branch, you are absolutely not the only one. The first time I spotted one in my own yard, I stopped mid-rake and called my husband over because I was convinced it was either some weird fungus or something that had blown in from a campfire. It turned out to be something much more interesting—and much more welcome in a garden.

That hard, foamy-looking mass is very likely a praying mantis egg case, also called an ootheca. If you’ve found one attached to a stem, twig, plant stake, fence edge, or shrub branch, there’s a good chance a female mantis placed it there last fall. In this article, I’ll walk through exactly what it is, how to identify it, when it hatches, whether you should leave it alone, and what to do if you’ve already cut the stem and brought it into the garage or house.

1. What you found is most likely a praying mantis egg case

A praying mantis egg case is a protective structure made by an adult female mantis after mating, usually in late summer or fall. She deposits eggs into a frothy secretion that quickly hardens into a lightweight but sturdy case. That is why it looks foamy, puffed, and a little like expanding insulation foam or a toasted marshmallow shell.

Most egg cases I’ve seen are about 1 to 1.5 inches long, roughly 0.5 to 0.75 inch wide, and colored beige, tan, caramel, or medium brown. They are usually attached firmly to a vertical surface like a stem or twig. If it feels hard and dry rather than slimy or crumbly, that’s another clue you are looking at an ootheca.

2. Why it looks like a toasted marshmallow

The “toasted marshmallow” comparison is honestly one of the best descriptions. The outer surface often has ridges, bubbles, folds, or a slightly whipped appearance, almost like something foamed up and then baked in place. The color can deepen over winter, especially after rain, freezing temperatures, and exposure to sun.

In my yard here in the Midwest, I usually notice them most clearly in March and April, when the perennial beds are still sparse and the old stems are easy to inspect. During summer, they blend in surprisingly well. Once leaves are gone, that puffed brown shape suddenly stands out.

3. Where you’ll usually find one in the garden

Praying mantis egg cases are commonly attached 6 inches to 3 feet above the ground, although they can be higher. I’ve found them on coneflower stems, ornamental grass edges, raspberry canes, tomato cages left out too long, and even the side of a plastic planter. The female chooses a place that is fairly sheltered but still exposed enough for warming spring temperatures.

Look along sturdy stems about pencil-thickness or smaller, especially in areas that were full of insect activity the previous summer. Shrubs, butterfly gardens, vegetable beds, and pollinator patches are all prime spots. If you found one while cutting back dead plant material, that fits the pattern perfectly.

4. How to tell it apart from mud, fungus, or an insect nest

This is where a lot of people get tripped up. A mantis egg case is not made of mud like a mud dauber nest, and it is not papery like a wasp nest. It also is not wet or gelatinous like many fungal growths. Instead, it is dry, firm, and tightly attached, with a somewhat sculpted or ribbed outer surface.

Mud nests are usually made of obvious packed soil and often look like little tubes or pots. Fungal growth on stems tends to be softer, more irregular, and often associated with rot. Moth cocoons are usually much smaller and silkier. A mantis ootheca tends to be one distinct, thumb-sized package with a foam-set texture.

5. How many baby mantises can come out of one case

This is the part that always surprises people: one egg case can contain dozens to hundreds of eggs. Depending on the species, a single ootheca may produce anywhere from around 50 to over 200 tiny mantis nymphs. Not all will survive, of course, because nature is efficient and a little ruthless.

When they hatch, the babies emerge in large numbers over a short period of time, often within minutes to a few hours. They are tiny, pale at first, and then darken as they dry and begin moving. If you ever happen to see a case hatching, it is one of those backyard moments that feels a little wild and magical.

6. When it was probably made and when it will hatch

In much of the Midwest, female mantises lay egg cases from about September through the first hard frosts of fall. The adult female usually dies when winter sets in, but the eggs remain safely inside the case through cold weather. They are built for that seasonal cycle.

Hatching usually happens in spring, often when daytime temperatures are consistently warming. Depending on your local weather, that can mean April, May, or even early June. A few warm days in the 70s can speed things up, especially if the case is in a sunny location. If you bring the stem indoors into a heated room at 68 to 72 degrees, hatching can happen much earlier than it would outside.

7. Should you leave it alone? In most cases, yes

If the egg case is outdoors in a safe spot, the best thing to do is usually nothing. Leave it attached exactly where it is, or if you already cut the stem, place that stem back outdoors in a sheltered upright position. I like to tuck trimmed stems with oothecae into a shrub or secure them loosely to a fence with garden twine so they stay above soggy ground.

Try not to bring it inside just because it looks interesting. If it hatches indoors in March, you could suddenly have 100 tiny predatory insects wandering around your mudroom windows. They are harmless to your home, but they need outdoor food sources almost immediately. Indoors, they usually won’t survive long.

8. What to do if you accidentally cut the stem off

Don’t panic. This happens all the time during spring cleanup. The key is to keep the egg case outdoors and protect it from being crushed or left directly on wet soil. If the cut stem is at least 8 to 12 inches long, you can wedge it upright into the ground near a shrub, tuck it into a tomato cage, or tie it gently to a branch.

If the original stem is too short, you can attach it to another twig with soft plant ties, twine, or even a clothespin positioned so it doesn’t crush the case. Avoid sealing it in a jar or bag. Good airflow and natural outdoor temperature changes are important. Think “secure and sheltered,” not “stored.”

9. Why gardeners usually consider praying mantises beneficial

Praying mantises are predators, and they eat a wide variety of insects. In the garden, that can include flies, moths, caterpillars, beetles, crickets, and other soft-bodied or slow-moving bugs. If you are trying to cut back on broad insecticide use, having natural predators around is a plus.

That said, I like to be realistic: mantises are not precision pest-control specialists. They eat what they can catch, including both pests and beneficial insects. So I don’t think of them as a miracle solution. I think of them as part of a balanced backyard ecosystem, like lady beetles, ground beetles, and birds.

10. Native vs. non-native mantis egg cases

Depending on where you live, the egg case could belong to a native species such as the Carolina mantis, or a non-native species such as the Chinese mantis. Chinese mantis oothecae are often larger—sometimes closer to 1.5 inches long or a bit more—and can look more rounded or blocky. Carolina mantis cases are often smaller and a little more elongated, though there is overlap.

For most casual gardeners, exact identification from the egg case alone can be tricky. If you are curious, your state extension office, local native plant group, or a regional insect ID forum can help. I would not recommend destroying a case just because you are unsure. If you care deeply about native habitat, local experts can give guidance specific to your area.

11. Signs that the egg case has already hatched

An intact egg case usually looks sealed and firm. After hatching, you may notice a row or cluster of small slits, openings, or a split section where the nymphs emerged. The case will still be attached and still look mostly whole, which can be confusing if you expected it to fall apart.

If you find one in late spring and it looks a little more weathered with clear emergence openings, it may already be empty. I still leave those in place until I’m sure, especially if I’m doing a quick cleanup and not stopping to inspect every stem with a magnifying glass.

12. How to garden around egg cases during spring cleanup

This is one reason I try not to do an ultra-neat fall cleanup. Leaving stems standing through winter helps a lot of beneficial insects, not just mantises. In spring, when I’m finally ready to tidy up, I move slowly through the beds and inspect thicker stalks before tossing everything onto the yard-waste pile.

A good routine is to cut stems in sections rather than hacking an entire clump down at once. Set aside anything with attached cocoons, egg cases, or obvious insect activity. If you have kids, this can actually turn into a fun little backyard scavenger hunt. We’ve had mornings where “spring cleanup” turned into 20 minutes of crouching in mulch saying, “Wait, what is this thing?”

13. If you want baby mantises to survive, skip pesticides nearby

Newly hatched mantises are tiny and vulnerable. Spraying broad-spectrum insecticides in the same bed where they emerge defeats the whole point of letting them hatch. Even products that seem routine can reduce the prey they need or harm them directly if they contact treated surfaces.

If you are trying to support beneficial insects, focus on layered planting, reduced pesticide use, and a mix of flowering plants that support a healthy insect population. Tiny mantises need tiny prey at first, so a biologically active garden is far more helpful than a perfectly spotless one.

14. A few things you should not do

Do not crush the egg case out of fear. It is not dangerous. Do not keep it in a sealed container without ventilation. Do not place it on soaked mulch where it can mold. And if it hatches indoors, do not spray the babies with household bug killer just because they surprised you.

If you truly cannot keep it where it is, relocate it outdoors within the same general area. A spot out of direct foot traffic, protected from heavy wind, and 1 to 3 feet off the ground is usually fine. The less handling, the better.

15. The short answer: it’s a good find

If the blob is hard, foamy, brown, and stuck to a stem, the odds are very high that you found a praying mantis egg case. That means your garden hosted at least one adult mantis last season, which is a pretty neat sign that your yard is providing some real habitat.

Whenever I find one now, I take it as a reminder to slow down during cleanup. Not every dried stem is just dead debris. Sometimes it is a nursery, a shelter, or part of the next season waiting to happen. So if you found that “toasted marshmallow” in your beds, I’d call that a lucky little discovery—and one worth protecting.