Camp Cooking
How to Store Food Safely at a Campsite
Learn how to store food while camping so it stays safe from bears, rodents, and spoilage. Covers coolers, bear canisters, hangs, and Leave No Trace.

Storing food safely at a campsite comes down to two things: keeping your food from spoiling and keeping it away from wildlife. The short answer is to keep all food, drinks, and scented items locked up or suspended well away from your sleeping area at all times, not just overnight. Here is how to do that depending on where you are camping.
Understand What Counts as Food Storage
Most people think "food storage" means the cooler or the lunch box. In practice, anything with a smell counts. Rangers and Leave No Trace guidelines typically group these together:
- All food, raw and cooked
- Garbage and used food packaging
- Cooking oil, spices, condiments, and camp stove fuel canisters
- Toothpaste, lip balm, sunscreen, and bug spray
- Dirty pots, pans, and utensils
- Pet food
If it has a scent, it belongs in your food storage setup. An animal that gets rewarded once for raiding a campsite will return, and a food-conditioned animal is often a danger to other campers. This is why the Leave No Trace principle "protect wildlife" is not just about being polite to animals.
Coolers: The Most Common Setup
A cooler is fine for front-country camping where you drive to your site. A few practical rules:
Keep it cold enough. Pack plenty of ice or ice packs and keep the cooler out of direct sunlight. Food kept below 40°F (4°C) slows bacterial growth significantly. Drain meltwater regularly since standing water speeds warming.
Do not leave it accessible. At night, and anytime you leave the campsite, move the cooler to your locked car. A cooler on a picnic table is an open invitation to bears, raccoons, and rodents even in areas with low bear activity. In many campgrounds, leaving food unattended outside your car or a bear box is a fineable offense.
Use a hard-sided cooler in bear country. Soft-sided coolers offer almost no resistance. Hard-sided coolers are more effective at masking scent and resisting entry, though they are not bear-proof on their own. Always pair them with a locked vehicle or a bear box.
For campsite meal ideas that work well with cooler storage, see easy camping meals for beginners.
Bear Canisters and Food Lockers
In many wilderness areas, particularly in the Sierra Nevada, Rocky Mountains, and other regions with dense bear populations, bear canisters are required. Even where they are not mandatory, they are a solid default for backcountry camping.
A bear canister is a hard plastic or carbon-fiber cylinder with a lid that bears cannot open. You simply put your food and scented items inside, seal the lid with a coin or screwdriver, and set it on the ground at least 200 feet (60 meters) from your tent and cooking area. You do not need to hang a bear canister; its strength is in the seal, not its height.
Food lockers (also called bear boxes) are permanent metal storage boxes installed at many developed campgrounds. Use them if they are available. They are bear-resistant, usually large, and free to use. Put everything scented inside before you go to sleep or leave camp.
Check local regulations before your trip. The ranger district website will tell you whether a canister is required, what the minimum container specification is, and whether the campground has lockers.
Hanging Food (the PCT Method)
Where canisters are not required and no lockers are available, hanging your food bag is the traditional approach. This is more involved than it sounds and takes practice.
The standard method:
- Find a tree branch at least 15 feet (4.5 meters) off the ground, 6 feet (1.8 meters) from the trunk, and 6 feet below the branch tip.
- Toss a rope over the branch using a rock or stuff sack as a weight.
- Tie the food bag to the rope and hoist it up. Tie the other end of the rope around the tree trunk.
The goal is to make the bag impossible for a bear to reach from the branch above, the trunk beside it, or the ground below. In practice, finding a suitable branch in the right terrain can be tricky, and an improperly hung bag is little more than a pinata. Many experienced backpackers now prefer canisters for exactly this reason.
The PCT hang (counterbalance method) and the "two-branch" variation both work when executed correctly. Search your ranger district's site for the method they recommend in that specific area.
Always hang your food at least 200 feet from your tent and your cooking area. These three spots should form a triangle; this keeps cooking smells and sleep areas separated.
To learn more about camp cooking in the field, check out how to cook while camping: a beginner's guide and how to cook over a campfire.
Keeping Food Safe from Animals Beyond Bears
Bears get most of the attention, but they are not the only concern. Mice and chipmunks can chew through a stuff sack overnight. Raccoons are fast, clever, and common in many front-country campgrounds. Marmots will gnaw into a pack left on a trail.
A few habits that help across the board:
- Never leave food unattended, even for a few minutes
- Cook and eat away from where you sleep
- Clean up food scraps and crumbs immediately
- Pack out all garbage; do not burn or bury food waste
- Wipe down cooking surfaces and stoves after use
- Change out of clothes you cooked in before going to bed
Some campers keep a spare bag or dry box just for scented items as a way to stay organized. Whatever system you use, the goal is consistency: every item that has a smell goes into the same place, every time.
Frequently Asked Questions
Do I need a bear canister everywhere? No. Many campgrounds do not require them, and some regions have lower bear activity. The key is to check local regulations before your trip. The ranger district or park service website will list any canister requirements for the specific area. When in doubt, using one is never a mistake.
Can I keep food in my tent? Avoid it. Sleeping near food dramatically increases the risk of a wildlife encounter. Even a sealed bag of trail mix can attract mice, chipmunks, or bears depending on the area. Keep food in your storage method of choice, set well away from your tent.
What if I am car camping and do not have a bear box? Lock everything in your car at night. Put the cooler in the trunk if possible to keep it out of sight. Do not leave anything with a scent in the passenger cabin. Rolled-up windows do not prevent a bear from smelling food inside.
How long does food stay safe in a cooler? It depends on how cold you keep it. Food held at or below 40°F (4°C) is generally safe for several days. Once ice has melted and the cooler reaches room temperature, treat it as you would a countertop and use or discard perishables within two hours. Restock ice proactively rather than waiting until it is nearly gone.
What do I do with garbage at a campsite? Pack it out. Put all trash, including used food packaging, fruit peels, and eggshells, in a sealed bag and store it with the rest of your food until you can dispose of it properly at a trash station or pack it out from the trailhead. Burying food scraps is not an acceptable alternative in most areas and can still attract animals and spread contamination.