you can also freeze them in airtight containers or freezer bags for up to six months; freeze in small amounts so they're easier to defrost and use. frozen cooked beans will retain their shape better if you thaw them slowly in the refrigerator.