Our Privacy/Cookie Policy contains detailed information about the types of cookies & related technology on our site, and some ways to opt out. By using the site, you agree to the uses of cookies and other technology as outlined in our Policy, and to our Terms of Use.


How to Set Up a Mealworm Habitat

By Judith Willson

Thomas Northcut/Photodisc/Getty Images

Mealworms are not the most demanding of creatures, so setting up a suitable habitat requires nothing in the way of special or expensive equipment. Chances are that you already have everything you need, and if you don’t, the dollar store probably will.

Step 1

Add about 3 or 4 inches of wheat bran to a plastic box or a small fish tank. This is both bedding and a source of food. You may mix the bran with meal or flour.

Step 2

Add some pieces of fresh fruit or vegetables as food and to supply moisture. To economize, use the waste parts, such as apple cores and potato peelings. Add the beetles or larvae (“worms”) to the tank. The more you have, the faster a mealworm farm will get going. For example, 1,000 larvae would get a 10-gallon tank off to a good start.

Step 3

Secure a piece of cheesecloth over the tank with a large elastic band. This is not to keep the mealworms in -- they can’t climb -- but to keep other insects, such as flies, out.

Step 4

Place the habitat in a warm room. If you live somewhere with a mild climate, you can keep it in an unused garage or garden shed.

Step 5

Replace the vegetables every couple of days or immediately if you notice rot or mold.

Step 6

Add more bran to the top once the level begins to drop, which probably won’t be necessary more than about once every few months.

Items you will need

  • Plastic box or small fish tank
  • Wheat bran
  • Slices of fruit and vegetables
  • Cheese cloth
  • Elastic band


  • 💡 Because you are not adding water, you can reuse fish tanks that have sprung leaks as mealworm houses.
  • 💡 It shouldn’t be necessary to change the bedding often, but if the bran becomes moldy, remove the moldy part and add a little fresh bran.
  • 💡 If you want to use meal or flour as well as or instead of bran, mix it with a few crumpled strips of newspaper. This stops it becoming a solid block through compaction, according to the University of Kentucky College of Agriculture.


  • The mealworms probably won’t be able to climb out, but other animals can climb in. If you are raising mealworms somewhere with rodents, use a wire mesh cover instead of cheesecloth. Mealworms look like a tasty snack to rats and mice, who can chew through cloth in seconds.
  • Mealworm Store notes that mealworms sold as “extra-large” or “giant” have probably been given hormones so that they won’t pupate. Although pets might like to eat them, they can’t mature and so they won’t breed.

Photo Credits

  • Thomas Northcut/Photodisc/Getty Images


Judith Willson has been writing since 2009, specializing in environmental and scientific topics. She has written content for school websites and worked for a Glasgow newspaper. Willson has a Master of Arts in English from the University of Aberdeen, Scotland.