Feeding Pet Rats By Lianne McLeod, DVM Lianne McLeod, DVM Lianne McLeod, DVM, is a small animal and exotic pet expert with over a decade of experience writing about veterinary care. After caring for animals in her veterinarian practice, Lianne went on to study biology and research water quality and chronic disease at the University of Saskatchewan. Learn more about The Spruce Pets' Editorial Process Updated on 11/07/25 Pet rat Agouti snacking. Credit: Joanna Servaes / Wikimedia Commons / CC BY-SA 3.0 Key Takeaways A balanced diet for pet rats should primarily consist of specially-formulated rat diets complemented by fresh foods.It is important to avoid feeding pet rats certain foods like chocolate, raw beans, and anything with caffeine, as these can be harmful.Providing a variety of fruits and vegetables in moderation can benefit a rat's health, but portion control is essential to prevent digestive issues. Feeding pet rats is not difficult, but there are some important items to include when doing so. Specially-formulated rat diets should always make up the bulk of your pet rat's meals, but you should also offer different fresh foods. Rat experts recommend some homemade diets as alternatives to prepackaged foods, but these require strict adherence to recipes and inclusion of fresh supplements to avoid nutritional imbalances. Some lower-quality prepackaged diets also may lack essential nutrients. Most owners find that combining a quality rat block with fresh treats provides a balanced diet. A Guide to Keeping and Caring for Pet Rats Store-Bought Food While you are shopping for food for your pet rat, look for a diet that has been made specifically for rats. This will usually be a pellet or block-type (essentially a large pellet) diet since they have historically been considered the best rat diets (although there are some concerns with pellets). Loose seed mixes can be very well-balanced diets but only if your rat eats everything in the mix (and many don't). Alternatively, if you feed a block or pelleted food, a rat won't be able to pick and choose which parts they do and do not want to eat. These rat blocks can be left available to your rat at all times. Pellet diets are commonly recommended for pet rats, but a rat and mouse diet that meets the same general requirements (e.g. low calorie, low fat) is a good compromise if you cannot find a good rat-specific diet. However, stay away from hamster, gerbil, and other rodent diets, as they are not a good substitute. The nutritional requirements in these foods are different, and they usually contain alfalfa which is not very digestible in rats. Feeding Pet Rats Other Foods Rats benefit from eating a variety of vegetables, fruits, and other fresh foods. This is great news because it's fun to share things you are eating with your rat. Keep in mind though that serving sizes are pretty small (as in a teaspoon or half-inch cube) for a rat so avoid giving large amounts of fruits or vegetables in each meal or diarrhea may result. The following is a list of treats you may wish to try, keeping in mind that feeding a wide variety of foods is the best way to ensure optimum nutrition and health: Fruit: apples, cherries, grapes, bananas, strawberries and other berries, melons, plums Vegetables: broccoli, potatoes, peas, carrot, cooked sweet potato, kale, parsley, bok choy, squash Cooked liver and other very lean cooked meats Whole wheat pasta and bread Cooked beans (including soy) Yogurt (especially with live cultures) Brown rice Unsweetened breakfast cereals Mealworms Small dog biscuits Special treats (given only occasionally): whole nuts in the shell (almonds, Brazil nuts, walnuts), sunflower seeds (high in fat), carob chips Leftovers from your meals are OK in moderation Credit: The Spruce / Marina Li Foods to Avoid Foods to avoid feeding your pet rat include: ChocolateRaw beansRaw sweet potatoCabbage and Brussels sproutsGreen potatoesSweet, sugary treats and any other human "junk food"Caffeinated beveragesCarbonated drinksGreen bananasWild insects (due to parasites and pesticides they may contain)Poppy seedsDo not feed any foods with d-limonene in it to male rats (lemon and orange peels and juice, mango, black pepper, nutmeg) FAQ How long does a pet rat live? As a general rule, rats live for about two years. How do you bond with a pet rat? Rats are highly intelligent creatures, and they enjoy your company. Hold yours in your hands and play gently, in short spurts at first until it's tamer. Keep your rat's cage in a quiet, safe area, so it always feels comfortable. Let them scamper around, award them with treats; both are great motivations for pet rats. How do you get a pet rat out of hiding? If it's too bright or too noisy, pet rats may hide. You can try to lure it out with food treats, but it's really best to let your rat stay where it feels most comfortable and venture out when the crowd is clear. Explore more: Small Pets Pet Rats Sources The Spruce Pets uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy. Husbandry and Health of Rats. Veterinary Partner. Mice and Rats as Pets. Merck Veterinary Manual.