
How to build a whole-food diet for roof rats and fancy rats, the numbers it has to hit, and the vitamin D everyone says you cannot get without sunlight.
Why this page exists
This whole nutrition project started with a question from a friend. She did not want to feed a commercial block at all. She wanted to know how to build a complete rat diet out of real, natural foods, the kind of things a rat might actually find and eat in the world. It is a fair question. Wild rats clearly get by without a bag of pellets, and plenty of good people want that option too: folks who cannot easily buy a quality block, preppers, homesteaders, anyone who would rather feed whole food than processed food on principle.
So this page is for that person. I want to give you an honest, careful answer instead of either of the two easy ones, which are “never do it, just buy the bag” and “rats eat anything, do not overthink it.” Both of those are wrong, and the second one gets rats hurt.[1][2]
Does this apply to my rat? Yes, whether you keep a roof rat (Rattus rattus, the species this site is about) or the common pet fancy rat (Rattus norvegicus, the Norway or brown rat). The two are close cousins with nearly identical digestion, and every nutrient target on this page comes from the Norway rat to begin with, because that is the only rat anyone has studied. So this guidance applies directly to a fancy rat and is the best available guide for a roof rat. Where the two differ in a way that matters, mostly around body weight and how much protein to aim for, I will say so.
Is this guesswork? No. There is no published nutrient standard for roof rats, so every target and number here is built on the laboratory-rat (NRC) science and standard food-composition data, with each source listed at the end. Where something is an estimate, and on an all-natural diet a few things are, I say so.
Here is the honest version up front: you can feed a rat a complete diet from whole foods, with no synthetic supplement at all, but it is the hardest way to do it, and it is the one place on this site where getting it wrong can genuinely make a rat sick. A formulated block exists for one reason, to guarantee a complete, balanced diet in every bite, so that you do not have to be a nutritionist, which is the job a mixed ration hands back to the animal: every rabbit fed a muesli mix rejected the pellets, selected the grains and ate an unbalanced diet[3]. The moment you take the block away, that whole job lands on you. The good news, and the thing that has changed since people first wrote “you cannot do vitamin D without a pellet,” is that every gap has a whole-food answer, including the hard ones. This page is me handing you the complete job description, and the answers.
“But they survive in the wild”
They do. And it is worth being clear-eyed about what that means, because it is the single most misleading thing people tell themselves when they go all-natural.
Wild rats are opportunistic omnivores. Roof rats lean more to fruit, seeds, grain, and nuts, and Norway rats scavenge a wider range including more animal matter, but both eat insects, eggs, the occasional small animal, and gnaw bone, and both get real sunlight.[4][5] And here is the part people skip: most wild rats do not live very long. Nature does not optimize a rat for a long, comfortable, fourteenth-month-and-beyond life in your living room. It optimizes it to breed before it dies. “They survive in the wild” is survivorship bias. The wild diet that “works” already quietly includes the animal protein, the incidental calcium from bone and grit, the insect variety[4], and the sun-charged foods that a bowl of seeds on your kitchen counter leaves out.
So the goal of a good all-natural captive diet is not to copy the romantic version of the wild diet (fruit and seeds in a bowl). It is to consciously rebuild the whole of what a foraging rat would opportunistically get, including the parts that are easy to forget, because your indoor rat cannot go find them itself.
The four things you have to engineer in
Most of a natural diet takes care of itself if you feed enough variety. Four things do not, and these are where home diets fail.[6][7] Get these four right and you have done most of the job.
1. Calcium, and the calcium-to-phosphorus ratio (the big one)
This is the problem that sinks more home diets than any other, and it is invisible until it is not.
Almost everything a rat loves to eat, seeds, grains, nuts, meat, legumes, is rich in phosphorus and poor in calcium: phytic acid alone is the principal phosphorus store in a seed and holds 65 to 85 percent of its total phosphorus, and it chelates calcium into an insoluble salt a monogastric animal cannot absorb[1]. Build a diet out of those and you get a badly inverted calcium-to-phosphorus ratio, far more phosphorus than calcium.[1] A rat’s body wants roughly the opposite: more calcium than phosphorus, somewhere in the range of about 1.2 to 1 up to about 2 to 1 calcium to phosphorus, with about 1.67 to 1 as the target, and calcium around half a percent of the diet (these are Norway-rat numbers from the NRC, the only numbers anyone has; NRC, Nutrient Requirements of the Laboratory Rat).[8]
When the ratio stays inverted, the rat’s blood calcium drops, and the body fixes that the only way it can: it pulls calcium out of the bones, which in rats shows up as a rise in serum osteocalcin, parathyroid hormone and urinary deoxypyridinoline when the dietary calcium-to-phosphorus ratio is lowered[2]. The parathyroid glands drive the process, and over weeks to months you get nutritional secondary hyperparathyroidism, also called fibrous osteodystrophy, soft and painful and deformed bones, fractures, loose teeth, reluctance to move. High phosphorus also pushes on the kidneys, and rats are already a kidney-prone animal. This is the classic, well-documented way an all-meat or all-seed diet cripples an animal; it is textbook in dogs, cats, captive big cats, and horses fed calcium-poor rations, and the calcium-deficiency bone changes are proven in rats specifically.[9][10][11] (Honest note: I could not find a published case report of this in a pet rat fed an all-natural diet, so I am not going to pretend one exists. The mechanism is certain in rats; the named clinical reports are in other species. It is a real risk, not a scare story, and not something to find out the hard way.)
The fix is simple and cheap, and it is non-negotiable on an all-natural diet: add a deliberate calcium source, because in the same rats restoring the ratio suppressed the raised parathyroid hormone and increased intestinal calcium absorption[2].
- Crushed eggshell is the workhorse. Dried, finely ground eggshell is about 40 percent calcium, close to 400 mg of calcium per gram of powder[12], and when eggshell calcium was fed to ovariectomized rats in an osteoporosis model it supported bone about as well as calcium carbonate did, which is a bone result and not an absorption one: in that study vitamin D3 did not significantly raise serum calcium in the eggshell group, and the authors say the mechanism of calcium absorption is still unclear[13]. Grinding your own from boiled eggs is a tested way to get it[14]. A small pinch, on the order of a fifth to a third of a gram per rat per day, mixed into wet food, is enough to swing a seed-and-grain diet from dangerous to correct. Grind it to powder so a rat cannot pick around it. (Bake the shells dry first.)
- Cuttlebone (the bird kind, a light porous block whose main component is calcium carbonate) left in the cage as a free-choice gnaw[15]. Good as a top-up, but the rat decides how much, so do not rely on it as the only source: left to choose between the parts of a mixed ration, every rabbit tested selected the palatable grains and rejected the balanced pellet[3].
- Low-oxalate calcium greens: kale, collard greens, turnip greens, bok choy, dandelion greens. In the rat, calcium bioavailability was nearly ten times greater from low-oxalate kale than from spinach[16]. These bring calcium, and the beta-carotene a rat turns into vitamin A, though only a small share of a dose makes that trip[17]. Important: do not count on spinach, chard, or beet greens for calcium, they are loaded with oxalate that binds the calcium so the rat absorbs little, nearly a tenfold difference against kale when it was measured in rats[16], and a heavy oxalate load carries its own risk to the kidneys[18].
- A little dairy or calcium-rich fermented food: plain yogurt, kefir, or a bit of natto. This is how a plant-heavy plate picks up vitamin B12: no plant, fungus or animal synthesises it, and milk, dairy products, fish, shellfish and eggs are its most important dietary sources[19]. Keep portions small.
- Calcium-dusted insects, or small whole prey with the bone in (a pinky mouse, a small whole fish, bone-in scraps): these give calcium already balanced against the phosphorus. (Plain feeder insects on their own are the opposite of a fix, crickets and mealworms are a poor source of calcium, which is why insectivore keepers dust or gut-load them first[20].)
2. Vitamin D (the one everyone says you cannot do without a pellet, and you can)
Plant foods have essentially no vitamin D, and vitamin D is what lets the body actually use the calcium you just worked to add: intestinal calcium absorption runs through a vitamin-D-regulated pathway, and deleting the genes that produce or receive vitamin D abolishes basal calcium absorption[21]. Here is the part that surprises people: a rat can make its own vitamin D in its skin when ultraviolet light reaches it, unlike a cat or dog, which mostly cannot. The catch is that an indoor pet rat gets no usable UV. Rats are active at dusk and night and naturally avoid open daylight, ordinary window glass blocks the exact wavelengths that make vitamin D, and a blonde roof rat (or any pink-eyed white rat) lacks the pigment that protects skin and eyes, so direct sun or a UVB lamp is uncomfortable and can harm it: in the albino rat retina, ultraviolet A at 360 nm was 50 to 80 times more effective than green light at killing photoreceptor cells[22]. So do not try to sun your rat. That measurement was made in an albino rat, which is the pink-eyed case[22]. Put the sunlight to work somewhere else: on its food.
(You may read a lovely story that furred animals coat their fur with a vitamin-D precursor in their skin oil, then eat it while grooming. It is a real hypothesis and may add a little, but it is not settled for rats, and there is older evidence against it being enough on its own. The reliable fact is the simple one: rats make D in skin from UV, indoor rats get none, so their diet has to supply it.)
The trick is UV-exposed mushrooms, and it is the closest thing to a free lunch on this whole page. A mushroom is full of a sterol (ergosterol) that turns into vitamin D2 under ultraviolet light, exactly the way our own skin makes vitamin D. Store mushrooms are grown in the dark and have almost none. But if you slice them, lay them gills-up in direct midday sun for about fifteen minutes to a couple of hours, their vitamin D climbs from near zero to several hundred, even past a thousand, IU per 100 grams.[23] Dry those sun-charged mushrooms and grind them to a powder, and at the measured 2.2 to 3.9 micrograms of vitamin D2 per gram of dry weight, which is about 88 to 156 IU per gram of dried powder[23], well under a gram a day covers an adult rat’s whole vitamin D need of roughly 15 IU. The two grams on the plate below is a deliberate margin for mushrooms that got less sun than these did, not the minimum. This is not a guess: researchers fed rats vitamin D2 from light-exposed mushrooms and it raised their blood vitamin D, kept their parathyroid hormone normal, supported healthy bone, and caused no calcium build-up in the soft tissues.[24] And there is a bonus: a sun-dried shiitake is also one of the best sources of ergothioneine, the antioxidant we cover below, so one ingredient does two jobs.
A few other natural sources round it out: UV-exposed mealworms (insects make vitamin D3 under a UVB lamp the same way, and mealworms are the standout, reaching a real dose after a day or two under the light),[25][26] oily fish like sardines, and egg yolk. A wild rat would scavenge exactly these. Between sun-charged mushrooms and a little animal food, an indoor rat’s vitamin D is genuinely covered from whole food.
On safety, and being fair about supplements. Whole-food vitamin D has a built-in safety margin: a rat fills its stomach long before it could eat a harmful amount, so you cannot overdose it from food. That is the real advantage of the natural route. It does not mean vitamin D supplements are poison. You will sometimes read that, because the same molecule is sold as a rat poison, but that is a dose argument, not a “the molecule is evil” argument, and a correctly measured D3 drop is also safe. The genuine hazards are concentrated products used carelessly: high-dose D drops eyeballed “to be safe,” or free-poured cod liver oil. Those two go wrong in different ways, which is worth separating. With a measured D drop the risk is the vitamin D itself, where an overdose causes hypercalcemia and kidney and bone damage. That was measured in rats dosed with a synthetic vitamin D analogue rather than with vitamin D from food, and the calcium level of the diet moved the toxic dose a long way: rats on a low-calcium diet tolerated up to ten times the dose that harmed rats on a standard one, so a well-calcified diet is the less forgiving one here.[27] With cod liver oil the vitamin A matters as much as the vitamin D does, because in a rat too much vitamin A is a serious problem in its own right: high doses cause spontaneous fractures and loss of appetite, along with reduced bone diameter, bone mineral content and body weight.[28] So: get your D from sun-charged mushrooms and a little animal food, keep the calcium up, and if you ever do use a D3 drop, measure it.
3. Vitamin B12 (and B6, and K2)
B12 comes only from animal foods and from microbes; no plant makes it. Rats get a partial break, because gut bacteria make some B12 and the rat recovers it by eating a little of its own droppings, which is normal and healthy rat behavior, and blocking it actually speeds B12 deficiency.[29] But “partial” is the key word, and it is not enough to lean on for a long, healthy life, especially for growing youngsters and pregnant or nursing moms whose demand is high.
So include a regular small animal source: egg, a little fish, or dairy. And here is a tidy shortcut the next section is all about: a daily pinch of fortified nutritional yeast delivers vitamin B12 and B6 both (use the fortified kind; plain nutritional yeast has little B12), and a little natto is the single richest natural source of vitamin K2, the form that teams up with the K1 in leafy greens to keep blood clotting and bone mineralization in order. Two small fermented foods quietly close three of the gaps a plant-only plate would leave.
4. Variety, for everything else
Vitamin A, vitamin E, choline, iodine, zinc, manganese, selenium, copper, and good-quality protein all carry a published requirement for the laboratory rat[8] and are all reachable from whole foods, but only if you feed real variety on purpose, not the same three favorites every day.
- Vitamin A: orange vegetables and leafy greens (as beta-carotene, which rats convert and cannot overdose on), egg yolk, a tiny bit of liver. (Liver is also an easy way to overdose vitamin A, so tiny, and not often.)
- Vitamin E: seeds, whole grains, nuts, and especially a little wheat germ. The need goes up on a seed-heavy diet because of the next section.
- Choline: egg yolk, legumes, wheat germ.
- Iodine: seafood, eggs, dairy; a plant-only diet can fall short, and a speck of seaweed (kelp) or a crumb of iodized salt covers it.
- Zinc, manganese, copper, selenium: whole grains, nuts, seeds, fish, legumes. (Brazil nuts are a selenium bomb, so they are not a daily habit, the margin on selenium is narrow. And grains and legumes carry phytate, which lowers how much zinc the rat actually absorbs, another reason variety beats monotony.)
- Protein: use animal protein and legumes, not just grain, so the amino acids are complete: cereal protein is an incomplete protein source, with lysine and threonine the primary limiting amino acids[30]. On amount, my best-guess targets are about 18 percent for healthy adult roof rats and about 23 percent for growing rats and nursing moms of either species, the same numbers as the main feeding page. Species note: Norway (fancy) rats tend to put on weight and are often kept a touch lower, around 14 to 16 percent at adult maintenance, while roof rats run lean and stay active, so they do better on the higher end. Either way, watch your own animal’s body condition more than any single figure, and note that a well fed older roof rat may put weight on and become less active.
Fermented foods do a lot of the heavy lifting
If you are the kind of person who feeds a rat from whole foods, odds are you already keep fermented foods around: kefir, yogurt, sauerkraut, miso, maybe natto or tempeh. Good news. They are not just safe for rats (whole fermented soy and a little dairy both sit fine with them), they quietly solve several of the hardest gaps on this page, and rats love the tangy, savory taste.
- Natto (fermented soybeans) is the richest natural source of vitamin K2 there is. A pea-sized bit a few times a week covers the K2 your rat would otherwise miss. Feed it unheated so the cultures stay alive, and skip the little salty sauce packet.
- Fortified nutritional yeast is the quiet hero: a daily pinch supplies vitamin B12 and B6, the two B-vitamins a plant-heavy plate falls short on. Use the fortified kind. (It is deactivated yeast, a nutrient sprinkle, not a live culture.)
- Kefir and plain yogurt bring calcium, a little B12 from the milk[19], and live cultures that support the gut, useful any time and especially after a course of antibiotics: in rats given antibiotics, a daily lactobacillus restored the gut microbiota and lowered the inflammatory signal[31]. Small amounts, plain only.
- Tempeh is fermented with a mold, which is a fungus, so along with good protein it carries a little ergothioneine, the antioxidant we make a fuss about below. (Most other fermented foods do not carry meaningful ergothioneine; that comes from fungi, so mushrooms and tempeh, not natto or yeast or kefir.[32])
So the unglamorous truth is that two tiny additions, a pinch of fortified yeast and a bit of natto, close the B12, B6, and K2 gaps that used to be the whole argument for “just buy the pellet.”
The fat balance gets worse, not better
One thing people do not expect: a seed-heavy natural diet is lopsided on fats. Across thirteen seed types, polyunsaturated fats made up 40 to 80 percent of the total and linoleic acid, the omega-6, was the main one in most of them; flax and chia are the exceptions, carrying very high alpha-linolenic acid instead[33]. Seeds and grains are very high in omega-6 and almost devoid of omega-3 (sunflower and pumpkin seeds are nearly all omega-6), and a diet skewed that far toward omega-6 tilts the body toward inflammation. So on an all-natural diet you have to add omega-3 on purpose: a little oily fish is ideal because it also covers vitamin D and B12, or ground flax or walnut for the plant form. There is a real wrinkle for blonde and other dilute rats here, who may bleed more easily[34][35], so keep omega-3 and vitamin E modest in those lines, and do not stack them. The full story is on the omega-3 for rats page.
The extras worth adding (the things pellets miss)
These are not strictly required to keep a rat alive, but they are the reason to bother feeding whole food in the first place, the compounds a milled, plant-based block has no strong source for[32][36]:
- Ergothioneine (EGT), a potent antioxidant your rat cannot make[32] and that mammals keep a special transporter for: the rat’s own OCTN1 carries it[37]. It is concentrated in mushrooms, so a sun-dried shiitake covers your vitamin D and your EGT at once. (Americans eat very little EGT, and higher blood levels track with better long-term health, though that link is correlation, not proof.[38])
- Betaine, a methyl-donor that supports the liver[39] and is the kidney medulla’s own osmolyte[40], easiest to add as a small sprinkle of toasted wheat germ, measured at 1,241 mg of betaine per 100 g and among the richest of 145 foods tested[41] (which also brings vitamin E and choline).
- Taurine is hard to reach from a small bowl of food: measured across foods it is concentrated in shellfish and meat, and none at all was detected in hen eggs or in plants[36]. The full doses of EGT and betaine are hard to reach the same way. The reliable way to give those, if you want to, is a supplement in the drinking water, with the food on top. That is its own topic.
If you would rather not work the numbers by hand, our Rat Food Builder lets you pick whole-food ingredients, builds the recipe and shopping list, computes the exact eggshell pinch for your mix, tracks which of these extras you are covering, and runs a safety check, including a setting for blonde and dilute lines.
A worked daily recipe, with exact amounts
Prefer to build your own? Open the free Rat Food Builder in natural-food mode to pick your own ingredients and get a custom recipe, shopping list, and cost, with the calcium math done for you and the required fortifiers (vitamin D, B12) built in.
This is a real, measured starting recipe, not a vague sketch. It lands near 18 percent effective protein with the calcium-to-phosphorus ratio corrected into the safe range of about 1.2 to 2 parts calcium to one of phosphorus[8]. The plate below comes to about 38 g of food as weighed, before the small extras that follow it, and that is one day for one adult rat.[8][42] Weigh your rat and adjust to the animal in front of you rather than to a fixed multiplier: scale every item by the same factor, up or down, until a weekly weigh-in holds steady on a lean, active body. Scaling everything together keeps the protein percentage and the calcium-to-phosphorus ratio exactly where they are; changing a single item on its own does not.[42]
The daily plate (one adult rat):
- Rolled oats, dry, 7 g, about 1 heaping tablespoon[42]
- Cooked lentils (or peas), 4 g, about 1 teaspoon[42][43]
- Hard-boiled egg, 4 g, about one-twelfth of a large egg[42][43]
- Sardine in oil, drained, with the bone, 5 g, about half a small sardine[42][43]
- Kale or collard, chopped, 6 g, about a small handful[42][43]
- Cooked pumpkin or carrot, 6 g, about 1 teaspoon[42]
- Blueberries (or other berry), 5 g, about two berries[42]
- Ground flaxseed, or one crushed walnut-half, 1 g, about a quarter teaspoon[42]
- Finely ground eggshell, about 0.24 g, a generous pinch.[12][42] The non-negotiable; the math is below.
The small deliberate adds that close the gaps:
- UV-exposed dried mushroom powder, about 2 g, for vitamin D (and ergothioneine). At the measured 88 to 156 IU per gram this is several times an adult rat’s 15 IU a day, which is the margin for mushrooms that got less sun than the test ones[23]. The sun-charged kind; how-to below.
- A pinch of fortified nutritional yeast, about 0.3 g, for vitamin B12 and B6.[19][42]
- A little natto, a pea-sized bit a few times a week, for vitamin K2.
- A speck of kelp or a crumb of iodized salt, for iodine.
That egg-and-sardine pair is doing triple duty: complete protein, animal-source vitamin D3, and B12, which no plant or fungus makes and which comes chiefly from meat, dairy, fish, shellfish and eggs[19]. The sardine plus the flax cover the omega-3, and the sun-charged mushroom carries the rest of the vitamin D.
A note on form (you do not have to cook the grains).[4][5] Rats are granivores and dry whole grains are perfectly fine, which is what many keepers scatter-feed. What genuinely needs cooking is the pulses (lentils, peas, chickpeas), starchy roots (sweet potato, potato), and the egg; fruit, veg, and greens can be fresh or freeze-dried. If you use freeze-dried produce, remember it is concentrated: you need only about an eighth of the fresh weight for the same nutrition (the foods are the same, just with the water removed), and offer water alongside.
Why the eggshell, in real numbers (this is the part that matters most):
- The base foods above supply roughly 31 mg of calcium but 75 mg of phosphorus, a ratio of about 0.4 to 1, badly inverted (phosphorus-dominant, the state that causes bone and kidney trouble).[2][42]
- The target is a Ca:P of about 1.67, which needs roughly 125 mg of calcium total, so about 94 mg more than the food provides.[42] That 1.67 is not a round number picked for comfort: the published requirement is 5.0 g of calcium and 3.0 g of phosphorus per kg of diet, and 5.0 divided by 3.0 is 1.67.[8]
- Eggshell powder is close to 400 mg of calcium per gram[12], so 94 divided by 400 is about 0.24 g of eggshell powder (a generous pinch).
- Re-check: 31 plus 94 is 125 mg of calcium against 75 mg of phosphorus, a Ca:P of 1.67, right in the 1.2-to-2 target band.[8] A slightly smaller or larger pinch stays in range; the one fatal mistake is skipping it. (The Rat Food Builder computes this exactly for whatever you actually feed.)
A simple 7-day rotation (so it stays varied; every day still gets an animal source, the sun-charged mushroom, the eggshell pinch, and the yeast pinch, and most days a calcium-rich green as well):
- Mon: oats, lentils, sardine, kale and blueberry, flax
- Tue: brown rice, peas, egg, carrot and apple, walnut
- Wed: barley, lentils, sardine, collard and pumpkin, flax
- Thu: oats, cooked chickpea, egg and a little natto, kale and strawberry, walnut
- Fri: brown rice, peas, sardine or mackerel, broccoli and blueberry, flax
- Sat: cooked quinoa, lentils, egg, bell pepper and pumpkin, walnut
- Sun: oats, cooked edamame, sardine, kale and a little banana, flax
Shopping list (covers two to three weeks for one rat): one small can of sardines in oil with bones; six eggs (hard-boil them, and save the shells); small bags of rolled oats, brown rice, and pearl barley; dried lentils and frozen peas; a bunch of kale or collard; a small pumpkin or some carrots; a punnet of blueberries; a small bag of ground flax (keep it refrigerated); a small tub of fortified nutritional yeast; a pack of mushrooms to sun-dry (shiitake is ideal); and, if you can find it, a small pack of natto for the freezer.
Making eggshell powder (a one-time kitchen step): rinse the shells from boiled eggs, bake them dry at about 200 F (95 C) for about 10 minutes, then grind to a fine flour in a clean coffee or spice grinder (it has to be powder, not flakes, or the rats pick around it). Grinding your own is the tested route, and a whole eggshell holds about 2.07 g of calcium[14]. One large egg’s shell makes about 5 g of powder, which at the 0.24 g pinch above is about three weeks of them.
Charging your mushrooms with sunlight (the other kitchen step): slice fresh mushrooms and lay them in a single layer, gills facing up, in direct midday sun for fifteen minutes up to a couple of hours (longer means more vitamin D). Then dry them fully and grind to a powder. The vitamin D is stable for months in an airtight container. Un-exposed mushrooms have almost no vitamin D, so the sun step is the whole point; if you skip it, you skip the D.
How to know it is working (and the honest backstop)
An all-natural diet is not “set the bowl and forget it.” It is a project you monitor.
- Weigh every rat once a week on a small kitchen scale and write it down. Steady weight on a lean, active rat is the goal. Unexplained weight loss, a rough or staring coat, a hunched posture, reluctance to climb or move, lumps, or dental trouble all mean stop experimenting and see an exotics vet.
- You can do this entirely from whole food. That is the honest headline of this page, and it has changed: with a deliberate calcium source (eggshell), a sun-charged vitamin-D source (mushrooms), a B12-and-B6 source (fortified yeast or animal food), a K2 source (natto), an omega-3 source (fish or flax), and real variety, every gap this page names has a whole-food answer, and nobody has yet fed the finished plate to rats and measured the result. No synthetic supplement is required. The work is real, the homework (sun your mushrooms, grind your eggshell, keep the variety up) is the cost of leaving the block behind.
- A block is an option, not a confession of failure. If the natural diet gets hard to keep varied, if you travel, if a rat is growing, pregnant, nursing, old, or sick, leaning on a good block (whole or part) is a perfectly fine choice, and it removes the risk this page is about in one move. There is no prize for purity here; the prize is a healthy rat. The easier, lower-risk default for most people is still a good block as the base with fresh food on top, laid out on our main feeding guide, what to feed your rat.
Special needs: if your rat reacts to certain foods with a skin rash, see the hypoallergenic diet (and other condition diets).
Sources
Every reference below was checked to confirm it says what I claim. The numbers match the superscript markers in the text above. Open-access papers are noted (free). All requirement numbers are Norway-rat (NRC) values; there is no roof-rat-specific data, so they are extrapolated.
- [N1] Calcium, phosphorus, and the requirement numbers: National Research Council, Nutrient Requirements of the Laboratory Rat (NCBI Bookshelf NBK231925, free)[8]. The calcium-to-phosphorus target, the anti-nephrocalcinosis ratio, and the vitamin D requirement (1,000 IU/kg of diet, about 15 IU per day for an adult eating ~15 g) come from this.
- [N2] Nutritional secondary hyperparathyroidism / fibrous osteodystrophy: Merck Veterinary Manual (cause, mechanism, the role of an inverted ratio and of oxalate)[11]; rat calcium-deficiency bone studies[9][10].
- [N3] Eggshell as calcium: Schaafsma and colleagues, 2000, Poultry Science, PMID 11194049[12] measured commercial eggshell powder at 401 mg of calcium per gram. Hirasawa, Omi and Ezawa, 2001, Journal of Bone and Mineral Metabolism, PMID 11281164[13] fed eggshell calcium to rats and found it supported bone about as well as calcium carbonate. Brun and colleagues, 2013, International Journal of Food Sciences and Nutrition, PMID 23607686[14] is the home-preparation study: it reports 2.07 g of calcium in a whole eggshell, which is about 5 g of powder, and it does not give a per-gram figure. It used to be cited for one here, and that was my error.
- [N4] Vitamin B12 and coprophagy in rats: Morgan, Gregory, Kon and Porter, 1964, British Journal of Nutrition 18:595, PMID 14241590[29] (free).
- [N5] Vitamin D dosing and toxicity in rats: Mortensen, Brinck and Binderup, 1993, Pharmacology and Toxicology, PMID 8474965[27] (overdose causes hypercalcemia and kidney and bone damage; dietary calcium changes the toxic dose). The point here is dose, not that vitamin D is inherently dangerous; correctly measured D3 is safe.
- [N6] Roof rat omnivory (insects, eggs, small prey): Animal Diversity Web[4]. The Galapagos stomach-content study is field evidence for the insect part specifically, and it also shows how much of the rest is plants: 98 percent plant matter, 2 percent arthropods.[5]
- [N7] Sunlight raises mushroom vitamin D: Urbain and Jakobsen, 2015, Journal of Agricultural and Food Chemistry, DOI 10.1021/acs.jafc.5b02945[23] (15 minutes of midday sun raises Agaricus bisporus to about 704 IU per 100 g; longer exposure pushes past 1,200).
- [N8] UV-mushroom vitamin D2 works in rats: Calvo and colleagues, 2013, Osteoporosis International, PMID 22358317[24] (“Vitamin D2 from light-exposed edible mushrooms is safe, bioavailable and effectively supports bone growth in rats”; raised serum 25(OH)D, normalized parathyroid hormone, supported bone, no soft-tissue calcification).
- [N9] Insects make vitamin D under UVB: Oonincx and colleagues, 2018, Scientific Reports 8:10807[25]; Nölle and colleagues, 2024, Food Chemistry, PMID 38341920[26] (UVB-treated yellow mealworms reach a high vitamin D3 content; mealworms are the standout insect source).
- [N10] Ergothioneine as an under-consumed dietary antioxidant: Beelman, Kalaras, Phillips and Richie, 2020, “Is ergothioneine a longevity vitamin limited in the American diet?”, Journal of Nutritional Science 9:e52, DOI 10.1017/jns.2020.44[38] (Americans eat far less than some European populations; higher blood levels track with lower disease and mortality; the authors note this is correlational, not proof).
Frequently asked questions
Can you feed a pet rat without a commercial pellet?
Yes, but it is the hardest and riskiest way to feed a rat. A formulated block guarantees a complete, balanced diet in every bite. An all-natural diet can close the same gaps, but only if you deliberately add a calcium source, animal-source vitamin D and B12, omega-3, and real variety, and weigh your rats to catch trouble early.
What is the biggest danger of a homemade rat diet?
An inverted calcium-to-phosphorus ratio. Seeds, grains, nuts, and meat are phosphorus-heavy and calcium-poor, so a whole-food diet runs backwards from what a rat needs: phytic acid alone holds 65 to 85 percent of a seed’s total phosphorus and chelates calcium into a salt the animal cannot absorb[1]. Left uncorrected over weeks to months it causes nutritional secondary hyperparathyroidism, soft and painful bones, and added stress on the kidneys. A deliberate calcium source fixes it: in rats, restoring the calcium-to-phosphorus ratio suppressed the raised parathyroid hormone and increased calcium absorption[2].
How do I add calcium to a natural rat diet?
Finely ground, dried eggshell is the cheap workhorse, close to 400 mg of calcium per gram[12], so a pinch (roughly a fifth to a third of a gram per rat per day, about 0.24 g in the worked example on this page) mixed into wet food is enough. Less than about a fifth of a gram leaves the diet phosphorus-dominant, which is the thing you are correcting for. Cuttlebone, a little plain dairy, low-oxalate greens like kale and collard, not spinach or chard, since calcium bioavailability in the rat was nearly ten times greater from kale than from spinach[16], and calcium-dusted insects or small whole prey with bone, since feeder insects as bought are a poor source of calcium[20].
Do pet rats need animal protein or animal foods?
A small, regular amount of animal food is the backbone of a safe all-natural diet. Vitamin B12 and the active form of vitamin D (D3) are essentially animal-only: no plant, fungus or animal synthesises B12, and meat, dairy, fish, shellfish and eggs are its most important dietary sources[19]. Animal protein also rounds out the amino acids, since cereal protein is lysine-limited[30]. A strict all-plant rat diet is the hardest and riskiest version, and is not recommended, because the B12 has to come from a fortified product rather than from any plant food[19].
Does this work for fancy (Norway) rats too, or only roof rats?
Both. Every nutrient target here comes from the Norway rat to begin with, since that is the only rat anyone has studied, so it applies directly to a fancy rat and is the best available guide for a roof rat. The main difference is body type: fancy rats trend heavier (watch for obesity, and they can run a little lower on protein), while roof rats stay lean and active, so they do better on the higher end. A well fed older roof rat may still put weight on and slow down, so go by body condition rather than by species.
Is a wild rat’s diet healthy to copy?
Only partly. Wild rats are omnivores that eat insects, eggs, and bone and get sunlight[4], though in one wild roof-rat population the stomach contents still ran 98 percent plant matter[5], and most do not live long, so the wild diet is built for breeding fast, not for a long, comfortable life. Copying the romantic ‘fruit and seeds in a bowl’ picture misses the animal protein, calcium, and vitamin D a captive rat actually needs, all of which a wild rat picks up from insects, eggs, bone and sun[4]. Rebuild the whole of it on purpose.
This is care information from one keeper to another, not veterinary advice. An all-natural diet raises the stakes; if you are unsure, a rat-savvy vet or a good block is the safe call.
References
- [1] Kumar A, Singh B, Raigond P, Sahu C, Mishra UN, Sharma S. “Phytic acid: Blessing in disguise, a prime compound required for both plant and human nutrition.” Food Research International 2021;142:110193. PubMed.
- [2] Koshihara M, Masuyama R, Uehara M, Suzuki K. “Effect of dietary calcium:phosphorus ratio on bone mineralization and intestinal calcium absorption in ovariectomized rats.” BioFactors 2004;22(1-4):39-42. PubMed.
- [3] Prebble JL, Meredith AL. “Food and water intake and selective feeding in rabbits on four feeding regimes.” Journal of Animal Physiology and Animal Nutrition 2014;98(5):991-1000. PubMed.
- [4] Animal Diversity Web. “Rattus rattus (roof rat).” link.
- [5] Riofrío-Lazo M et al. “Feeding Habits of Introduced Black Rats, Rattus rattus, in Nesting Colonies of Galapagos Petrel on San Cristóbal Island, Galapagos.” PLoS One 2015;10(5):e0127901. PubMed.
- [6] Pedrinelli V, Zafalon RVA, Rodrigues RBA, Perini MP, Conti RMC, de Carvalho Balieiro JC, Brunetto MA. “Influence of number of ingredients, use of supplement and vegetarian or vegan preparation on the composition of homemade diets for dogs and cats.” BMC Veterinary Research 2021;17(1):358. PubMed.
- [7] Wilson SA, Villaverde C, Fascetti AJ, Larsen JA. “Evaluation of the nutritional adequacy of recipes for home-prepared maintenance diets for cats.” Journal of the American Veterinary Medical Association 2019;254(10):1172-1179. PubMed.
- [8] National Research Council (US) Subcommittee on Laboratory Animal Nutrition. “Nutrient Requirements of Laboratory Animals: Fourth Revised Edition, 1995.” National Academies Press 1995. source.
- [9] Hernández-Becerra E et al. “Calcium Deficiency in Diet Decreases the Magnesium Content in Bone and Affects Femur Physicochemical Properties in Growing Rats.” Biological Trace Element Research 2020;197(1):224-232. PubMed.
- [10] Rosenquist JB et al. “Sensitivity to a low calcium diet in different bones: an experimental study in the adult rat.” Scandinavian Journal of Dental Research 1992;100(6):327-329. PubMed.
- [11] Merck Veterinary Manual. “Fibrous Osteodystrophy in Animals (nutritional secondary hyperparathyroidism).” link.
- [12] Schaafsma A, Pakan I, Hofstede GJ, Muskiet FA, Van Der Veer E, De Vries PJ. “Mineral, amino acid, and hormonal composition of chicken eggshell powder and the evaluation of its use in human nutrition.” Poultry science 2000;79(12):1833-8. PubMed.
- [13] Hirasawa T, Omi N, Ezawa I. “Effect of 1alpha-hydroxyvitamin D3 and egg-shell calcium on bone metabolism in ovariectomized osteoporotic model rats.” Journal of bone and mineral metabolism 2001;19(2):84-8. PubMed.
- [14] Brun LR, Lupo M, Delorenzi DA, Di Loreto VE, Rigalli A. “Chicken eggshell as suitable calcium source at home.” International Journal of Food Sciences and Nutrition 2013;64(6):740-743. PubMed.
- [15] Kong L, Zhu E, Yang A, Li X, Zhong L, Jiang H. “From marine debris to a valuable medical resource: A review on biology, chemistry, ethnopharmacology, bioactivity and application in biomedical materials of cuttlebone.” Journal of Ethnopharmacology 2025. PubMed.
- [16] Weaver CM, Martin BR, Ebner JS, Krueger CA. “Oxalic acid decreases calcium absorption in rats.” The Journal of Nutrition 1987;117(11):1903-1906. PubMed.
- [17] Goswami BC, Ivanoff KD, Barua AB. “Absorption and conversion of 11,12-(3)H-beta-carotene to vitamin A in Sprague-Dawley rats of different vitamin A status.” The Journal of Nutrition 2003;133(1):148-153. PubMed.
- [18] Garland V, Herlitz L, Regunathan-Shenk R. “Diet-induced oxalate nephropathy from excessive nut and seed consumption.” BMJ Case Reports 2020;13(11). PubMed.
- [19] Moravcova M, Siatka T, Krcmova LK, Matousova K, Mladenka P. “Biological properties of vitamin B12.” Nutrition Research Reviews 2025;38(1):338-370. PubMed.
- [20] Finke MD. “Complete nutrient content of four species of commercially available feeder insects fed enhanced diets during growth.” Zoo Biology 2015;34(6):554-564. PubMed.
- [21] Fleet JC. “Vitamin D-Mediated Regulation of Intestinal Calcium Absorption.” Nutrients 2022;14(16):3351. PubMed.
- [22] Rapp LM, Smith SC. “Morphologic comparisons between rhodopsin-mediated and short-wavelength classes of retinal light damage.” Investigative Ophthalmology & Visual Science 1992;33(12):3367-3377. PubMed.
- [23] Urbain P, Jakobsen J. “Dose-response effect of sunlight on vitamin D2 production in Agaricus bisporus mushrooms.” Journal of Agricultural and Food Chemistry 2015;63:8156-8161. DOI.
- [24] Calvo MS, Babu US, Garthoff LH, Woods TO, Dreher M, Hill G, Nagaraja S. “Vitamin D2 from light-exposed edible mushrooms is safe, bioavailable and effectively supports bone growth in rats.” Osteoporosis International 2013;24:197-207. PubMed.
- [25] Oonincx DGAB et al. “Evidence of vitamin D synthesis in insects exposed to UVb light.” Scientific Reports 2018;8:10807. PubMed.
- [26] Nölle N, Hörnstein A, Lambert C. “Vitamin D fortification of selected edible insect species through UVB-treatment.” Food Chemistry 2024;444:138679. PubMed.
- [27] Mortensen JT, Brinck P, Binderup L. “Toxicity of vitamin D analogues in rats fed diets with standard or low calcium contents.” Pharmacology & Toxicology 1993;72:124-127. PubMed.
- [28] Lind T, Lind PM, Hu L, Melhus H. “Studies of indirect and direct effects of hypervitaminosis A on rat bone by comparing free access to food and pair-feeding.” Upsala journal of medical sciences 2018;123(2):82-85. PubMed.
- [29] Morgan TB, Gregory ME, Kon SK, Porter JW. “Coprophagy and vitamin B12 in the rat.” British Journal of Nutrition 1964;18:595-602. PubMed.
- [30] Koo WW, Lasekan JB. “Rice protein-based infant formula: current status and future development.” Minerva Pediatrica 2007;59(1):35-41. PubMed.
- [31] Yao G, Cao C, Zhang M, Kwok LY, Zhang H, Zhang W. “Lactobacillus casei Zhang exerts probiotic effects to antibiotic-treated rats.” Computational and Structural Biotechnology Journal 2021;19:5888-5897. PubMed.
- [32] Borodina I, Kenny LC, McCarthy CM, et al. “The biology of ergothioneine, an antioxidant nutraceutical.” Nutrition Research Reviews 2020;33(2):190-217. PubMed.
- [33] Czerwonka M, Bialek A. “Fatty Acid Composition of Pseudocereals and Seeds Used as Functional Food Ingredients.” Life 2023;13(1):217. PubMed.
- [34] Oiso N et al. “The rat Ruby (R) locus is Rab38: identical mutations in Fawn-hooded and Tester-Moriyama rats derived from an ancestral Long Evans rat sub-strain.” Mammalian Genome 2004;15(4):307-314. PubMed.
- [35] Ninkovic I et al. “The role of Rab38 in platelet dense granule defects.” Journal of Thrombosis and Haemostasis 2008;6(12):2143-2151. PubMed.
- [36] Zhao X, Jia J, Lin Y. “Taurine Content in Chinese Food and Daily Taurine Intake of Chinese Men.” Advances in Experimental Medicine and Biology 1998;442:501-505. PubMed.
- [37] Nakamura T et al. “Functional characterization of ergothioneine transport by rat organic cation/carnitine transporter Octn1 (slc22a4).” Biological & Pharmaceutical Bulletin 2008;31(8):1580-1584. PubMed.
- [38] Beelman RB et al. “Is ergothioneine a longevity vitamin limited in the American diet?.” Journal of Nutritional Science 2020;9:e52. PubMed.
- [39] Arumugam MK, Paal MC, Donohue TM Jr, et al. “Beneficial Effects of Betaine: A Comprehensive Review.” Biology 2021;10(6). PubMed.
- [40] Kempson SA, Montrose MH. “Osmotic regulation of renal betaine transport: transcription and beyond.” Pflugers Archiv – European Journal of Physiology 2004;449(3):227-234. PubMed.
- [41] Zeisel SH, Mar MH, Howe JC, Holden JM. “Concentrations of choline-containing compounds and betaine in common foods.” Journal of Nutrition 2003;133(5):1302-1307. PubMed.
- [42] Roof Rat (this site): “Rat Food and Menu Builder (the site’s own food library and calcium arithmetic).” link.
- [43] U.S. Department of Agriculture, Agricultural Research Service. “FoodData Central (SR Legacy food composition records and household portion weights).” USDA FoodData Central 2019. link.