Mealworms are remarkably unfussy eaters that thrive on a base of grain-based dry food supplemented with moisture-rich fruits or vegetables. In the wild, yellow mealworm larvae (the immature stage of the darkling beetle, Tenebrio molitor) feed on decaying plant matter, grain stores, and the occasional dead insect. In captivity, replicating that mix of starchy carbohydrates, moderate protein, and a reliable water source is the core of keeping them alive and growing, but the details matter more than most keepers realize.
The Best Dry Substrates
Wheat bran is the gold standard for mealworm bedding and feed, and for good reason. When researchers compared wheat, barley, maize, and a nutritionally balanced control diet, maize-based substrates consistently produced the worst results: lower feed intake, slower growth, and higher mortality, regardless of whether the overall nutrient content of the diet was balanced or not. Wheat and barley substrates, on the other hand, supported growth rates comparable to the balanced control diet.1PubMed. Rearing mealworm larvae with wheat, barley or maize grains as main source of nutrients in unbalanced or balanced substrates So if you are shopping for a substrate, wheat bran or rolled oats are your best bets, with barley as a solid alternative. Cornmeal works in a pinch but should not be the primary grain.
Beyond plain grain, mealworms do well on a range of cereal-based products. Stale bread, unsweetened breakfast cereal, oat flakes, and ground chicken feed (the plain, pelletized kind without additives) all serve as workable substrates. The key is that the base should be predominantly starchy carbohydrate with some protein, ground or flaked finely enough that the larvae can chew through it. Whole, uncracked grains are harder for small larvae to access, so grinding or using pre-milled products speeds things up.
Moisture and Hydration
Mealworms do not drink water in the traditional sense. They get almost all of their moisture from fresh produce placed on top of the dry substrate. Carrot slices are the classic choice because they last a day or two without molding quickly, but potato slices, apple wedges, leafy greens, and zucchini all work. The rule of thumb is to use something that holds moisture without going slimy too fast. You want to replace it before mold appears, which in a warm enclosure can be as soon as 24 to 48 hours.
Researchers have also tested gelling agents as an alternative to fresh produce, and the results are promising. Gel-based water sources made with carrageenan supported larval survival and weight gain as effectively as carrots, and in some cases actually shortened development time.2Environmental Science & Technology. Beyond carrots: Evaluation of gelling agents as wet feeds for Tenebrio molitor L. (Coleoptera: Tenebrionidae) larvae For large-scale breeders, gel cubes are easier to manage than bags of produce. For a small home colony, though, a carrot chunk every couple of days is simple and effective.
If mealworms go without moisture for too long, they do not just slow down. They turn on each other. Providing water or even individual amino acid solutions sharply reduces cannibalistic behavior among larvae.3Advanced Energy and Sustainability Research. Enhancing Plastic Decomposition in Mealworms (Tenebrio molitor): The Role of Nutritional Amino Acids and Water This is a practical concern for anyone keeping large numbers in a single container: skipping the moisture source for even a few days can lead to population losses from cannibalism rather than dehydration alone.
Getting the Protein Balance Right
One of the more counterintuitive findings in mealworm nutrition is that more protein is not always better. When researchers tested substrates with varying protein levels, a moderate protein content of about 15% (paired with a much larger proportion of carbohydrates, roughly a 1:5 protein-to-carbohydrate ratio) produced the highest total yield, the best feed conversion, and the most efficient use of substrate protein.4PubMed. Productive performance of yellow mealworm larvae in different protein and carbohydrate levels in the same energy substrate Substrates with higher protein content actually hurt larval growth in that study.
Other research tells a slightly different story about the direction of the protein effect, finding that larvae fed higher-protein diets gained weight faster, though with diminishing returns as protein climbed.5PubMed Central. The Impact of Energy and Protein Levels on Yellow Mealworm Growth and Chemical Composition The reconciling point seems to be that feed conversion efficiency gets worse at high protein levels even if raw weight gain ticks up. When protein is scarce, larvae use it more efficiently. When it is abundant, a lot goes to waste. For most keepers, a wheat-bran base with a modest protein boost, like a sprinkling of brewer’s yeast or a small amount of soy flour, hits the sweet spot without overcomplicating things.
What You Feed Them Changes What They Are
If you are raising mealworms as feeders for reptiles, birds, or fish, the diet you give them directly shapes their nutritional profile. Larvae fed diets heavy in pea protein ended up with body protein content above 70% on a dry-matter basis, while larvae fed mostly cassava flour had far less protein (around 36%) and nearly half their dry weight as fat.6PubMed Central. Influence of Dietary Protein Content on the Nutritional Composition of Mealworm Larvae (Tenebrio molitor L.) The dietary carbohydrate and lipid ratios also shifted larval composition, including protein yield and survival.7animal. Dietary carbohydrate, protein and lipid modulation shape growth, nutritional profile and antimicrobial peptide gene expression in edible yellow mealworm larvae
In plain terms, mealworms are what they eat to an unusual degree. A colony raised on nothing but oats and carrots will be a fattier, lower-protein feeder insect than one raised on a diet supplemented with protein-rich ingredients. If you are feeding them to animals that need lean, high-protein prey, adjusting the substrate in the final week or two before harvest can meaningfully change the nutritional package your pet receives.
Gut-Loading for Reptile and Amphibian Keepers
Mealworms are naturally low in calcium and have an unfavorable calcium-to-phosphorus ratio, which is a well-known problem for reptile keepers. Gut-loading, the practice of feeding feeder insects a nutrient-dense diet shortly before offering them to your pet, can fix this. When mealworms were fed a commercial gut-loading diet, their calcium content rose dramatically within 24 hours and their calcium-to-phosphorus ratio flipped from roughly 1:20 to over 3:1 by 48 hours.8Journal of Herpetological Medicine and Surgery. Using a Commercial Gut Loading Diet to Create a Positive Calcium to Phosphorus Ratio in Mealworms (Tenebrio molitor)
That is a massive shift, and it matters because reptiles fed a steady diet of un-gut-loaded mealworms are at real risk of metabolic bone disease. The calcium content of mealworms also increases in a predictable, nonlinear fashion as the calcium level of their diet goes up, and the same relationship holds for vitamin A.9Zoo Biology. Gut loading to enhance the nutrient content of insects as food for reptiles: A mathematical approach So the takeaway for reptile owners is straightforward: feed your mealworms a calcium-rich gut-load diet for at least 24 hours, ideally 48, before offering them to your animal. Dusting with calcium powder at feeding time helps, but gut-loading does the heavier lifting.
Foods to Avoid
Mealworms will cheerfully eat things that are bad for them and, by extension, bad for whatever eats them. The main categories of concern are pesticide-contaminated produce, mycotoxin-contaminated grains, and substrates containing heavy metals.
Pesticides are the most practical risk for home keepers. When mealworms were fed fresh produce containing pesticide residues, they accumulated the chemicals in their bodies. Pesticides with higher fat-solubility were absorbed at higher rates and excreted more slowly.10Food Chemistry / Elsevier. Pesticide contamination of Tenebrio molitor (Coleoptera: Tenebrionidae) for human consumption This means conventionally grown produce with pesticide residues is not just harmless filler: those chemicals end up concentrated in the larvae. If you are raising mealworms for human consumption or as feeders, using organic produce for the moisture source, or at least washing conventional produce thoroughly, is a sensible precaution.
Mycotoxins, the toxic compounds produced by certain molds on grains, are another hidden risk. Mealworms fed grain contaminated with T-2 and HT-2 toxins (common mycotoxins in cereals) showed a 16% lower survival rate compared to controls.11PubMed Central. Distribution of T-2 toxin and HT-2 toxin during experimental feeding of yellow mealworm (Tenebrio molitor) Old, damp, or visibly moldy grain should never be used as substrate. Even grain that looks fine but has been stored in humid conditions can harbor mycotoxin levels that hurt the colony. Store your substrate in a cool, dry place in airtight containers.
Beyond contamination, there are a few common-sense items to keep off the menu. Citrus peels and onions are widely reported to be refused or poorly tolerated, and any produce treated with herbicides or preservatives should be avoided. Salty or heavily processed human foods, greasy scraps, and anything with added sugar do not belong in a mealworm bin. These are not natural food sources, they encourage mold growth in the substrate, and they can introduce chemicals you do not want bioaccumulating in the larvae.
Heavy Metals and Substrate Safety
For anyone raising mealworms on agricultural waste or novel substrates, heavy metal contamination is worth understanding. Mealworms can accumulate heavy metals from their diet, but they do not accumulate all metals equally. Arsenic tends to be retained in the larval body, while lead and cadmium are largely passed through into the frass (excrement). In one study, lead concentrations in the frass were up to sixty times higher than in the larvae themselves.12PLoS ONE. Uptake of Cadmium, Lead and Arsenic by Tenebrio molitor and Hermetia illucens from Contaminated Substrates Lead and cadmium levels in the larvae stayed below European regulatory limits for feed materials across all tested contamination levels in that study, but arsenic exceeded the limit at higher doses.
When mealworms were raised on agricultural sidestreams (fruit and vegetable processing waste used as the wet feed), the heavy metals detected in the larval biomass were within safe limits for human consumption, though the researchers recommended regular monitoring.13PubMed Central. The nutritional profile, mineral content and heavy metal uptake of yellow mealworm reared with supplementation of agricultural sidestreams The practical lesson: standard food-grade grains and common produce are fine. If you start experimenting with industrial byproducts, compost, or soil-contact materials as feed, you introduce the possibility of contamination that conventional substrates avoid.
Sustainable and Waste-Based Diets
One of the reasons mealworms have attracted so much research attention is that they can convert low-value food waste into high-value protein. Fruit and vegetable peels, spent brewer’s grains, bread waste, and various food-processing residues have all been tested as mealworm feed, and in many cases they support survival and growth rates comparable to standard diets.14PubMed Central. Exploiting Agri-Food Waste as Feed for Tenebrio molitor Larvae Rearing: A Review Agricultural sidestreams used as a wet feed replacement for fresh vegetables also performed well, with an overall mean survival rate of about 90% and no significant difference in harvested weight compared to conventional vegetable-fed controls.13PubMed Central. The nutritional profile, mineral content and heavy metal uptake of yellow mealworm reared with supplementation of agricultural sidestreams
Not all plant waste is equally suitable, though. Materials high in fiber and plant-defense compounds, like legume leaves rich in tannins and phenolic compounds, can only be incorporated in limited amounts and ideally need pre-processing (such as drying or heat treatment) before being added to the substrate.15Scientific Reports. Utilising common bean and strawberry vegetative wastes in yellow mealworm (Tenebrio molitor) substrates: effects of pre-treatment on growth and composition For home keepers, this mostly means that tossing in a handful of kitchen scraps, things like apple cores, lettuce trimmings, and potato peels, is perfectly reasonable, but avoid large amounts of raw bean plants or highly fibrous, tannin-heavy material without drying or processing it first.
The Polystyrene Question
You may have heard that mealworms can eat Styrofoam. This is true but deserves context. Mealworm larvae can chew and ingest polystyrene foam, and gut bacteria break down the polymer into smaller molecules, some of which are mineralized to COâ‚‚ while a small fraction is assimilated into larval biomass.16Environmental Science & Technology. Biodegradation and Mineralization of Polystyrene by Plastic-Eating Mealworms: Part 1. Chemical and Physical Characterization and Isotopic Tests The process depends on the gut microbiome: when researchers suppressed gut bacteria with antibiotics, the depolymerization of polystyrene stopped.17PubMed. Ubiquity of polystyrene digestion and biodegradation within yellow mealworms, larvae of Tenebrio molitor Linnaeus (Coleoptera: Tenebrionidae)
Interestingly, the gut microbial communities that digest polystyrene closely resemble those that digest natural lignocellulose (the tough structural material in plants like corn straw), suggesting that the plastic-eating ability piggybacks on an ancient mechanism for breaking down woody plant matter.18PubMed Central. Gut microbiome of mealworms (Tenebrio molitor Larvae) show similar responses to polystyrene and corn straw diets Mealworms fed lignocellulosic waste (like corn stover or wheat straw) also showed enrichment in cellulose-degrading bacteria, though with some disruption to their lipid metabolism.19PubMed. Responses of physiological, microbiome and lipid metabolism to lignocellulosic wastes in gut of yellow mealworm (Tenebrio molitor)
None of this means you should feed your mealworms Styrofoam. Larvae surviving on polystyrene alone grow poorly and are nutritionally depleted. The research is about waste-management potential and understanding insect gut biology, not about recommending plastic as a diet. For anyone keeping mealworms at home, the takeaway is that these larvae have an unusually robust digestive system capable of processing a wider range of organic material than you might expect, but that does not make everything they can eat good for them or for whatever eats them next.
A Simple Feeding Setup
For a home colony, whether you are raising mealworms for pet food, fishing bait, or composting experiments, the setup is straightforward. Fill a shallow, smooth-sided container with two to three inches of wheat bran or oat-based substrate. Place a slice or two of carrot, potato, or apple on top every couple of days, removing old pieces before they mold. If you want to boost the protein content of the larvae, mix in a small amount of brewer’s yeast, soy flour, or powdered milk at roughly 10 to 15% of the substrate volume. Keep the bin at room temperature or slightly warmer (around 25 to 28°C is ideal for growth), and avoid high humidity in the substrate itself, which encourages mold and mite infestations.
If you are gut-loading for reptiles, switch to a calcium-rich commercial gut-load diet or a homemade high-calcium mix at least 24 hours before feeding the mealworms to your animal. The larvae will continue eating right up until they are offered, and the gut contents contribute meaningfully to the nutrition your pet receives.
Avoid giving mealworms anything that is visibly moldy, anything treated with pesticides or herbicides, citrus rinds, onion, or any salty or oily processed food. If you use kitchen scraps as the moisture source, stick to bland, mildly sweet or starchy vegetables and fruits. The colony will largely take care of itself from there, cycling through eggs, larvae, pupae, and adult beetles in a self-sustaining loop as long as the food and moisture keep coming.