Pour beans into a colander and sort through them. Remove any stones or other objects that don’t belong, and rinse thoroughly.
Add beans, water, onion, garlic, salt, and pepper to the instant pot.
Pressure cook on high for 30 minutes. Then, they will "keep warm" in the Instant Pot for about 15 minutes after cooking, causing the steam to release naturally.
Release any remaining steam and remove the lid carefully. Beans should be perfectly tender. However, if they are not fully cooked, you can seal the lid again and cook for another 15 minutes.
Strain the beans and discard the onion and garlic.
Serve immediately. Alternatively, store in an airtight container in the fridge for up to 5 days or in the freezer for a month.
Notes
What is the best setting for beans in an Instant Pot? The manual high-pressure setting is typically the best for cooking beans. If you have a newer Instant Pot, it may have a setting for beans which should work just fine. Why are my Instant Pot beans tough? This could be because you didn't use enough water to fully cook them. Or, maybe they needed to cook a bit longer.Storage TipsFor optimal freshness, store your cooked beans in an airtight container.
Fridge: They will keep in the refrigerator for up to 5 days.
Freeze: Alternatively, you can freeze them for up to 3 months. (This is perfect for meal prep. I often bulk-cook different types of beans and lentils and then strain them and freeze them. This way, when you are making soups, bowls, etc., you can just break off a chunk and add it to the recipe.)
Please read the blog post above for more helpful tips, tricks, and topping suggestions!