Freezing coffee beans can extend their shelf life, but it's important to do it right. Divide the beans into smaller portions, place them in airtight containers or freezer bags, remove excess air, and freeze. Thaw only the amount you need and avoid refreezing thawed beans to preserve their flavor.