title_body: How long can I store roasted coffee beans?
upvoted_answer: I assume you are storing them for a later grinding (likely just before preparing your cups of coffee).
  
  According to some sources 1,2,3, the main point is use it within a week. For more than that, it is preferable to freeze them, and in this condition, for no more than a month.
  
  A brief summary:
  
  For short term use (this week's coffee):
  
  
  Do not refrigerate your daily supply of coffee (in order to avoid moisture).
  Keep them in air-tight glass or ceramic containers, in a dark and cool place.
  Keep only the amount of beans you know you will quickly use.
  
  
  For long term use (no more than a month):
  
  
  If you have a large amount of beans, wrap them in small (weekly) amounts inside air-tight bags, and freeze them. Once removed from freezer, do not return them.
  If you are making coffee in an espresso machine, let them getting room temperature for one day.
  
  
  
  
  1: "How to store coffee. National Coffee Association"
  2: The Coffee Geek's Guide to Storing Beans
  3: For better coffee, store your beans