Habitats, or Habs, are buildings used to store chickens. As of 1.12.11, there are 19 different levels of Habitats.
The base price of buying or upgrading a Habitat depends on how many of that level you have immediately before your purchase, not on how many houses you have of any other level. Thus, building up to 4 coops and then upgrading them into 4 shacks will cost slightly more money than upgrading your first Coop into a Shack, then building a 2nd Coop and upgrading it to a Shack, then doing the same with a 3rd and then a 4th. It would be slightly cheaper than that to upgrade your first Coop to a shack and then build the other 3 Habitats as Shacks initially, but this approach would forfeit some easy increments to your Piggy Bank. (If you are never going to spend money on the game anyway or if your Piggy Bank is full, then go ahead!)
As of 1.12.11, getting maximum housing upgrades and all Chicken Universes allows for a maximum chicken capacity of 11.34 billion. This becomes 14.175 billion with Artifacts on every egg but Enlightenment; on that egg, the maximum habitat capacity is 19.845 billion with a T4L gusset slotted with three T4 Clarity Stones.
You can reduce the price of upgrading a Habitat with Epic Research, to a minimum of 50%. In addition, special events sometimes apply a housing discount, which compounds with the Epic Research - for example, an Event discount of 25% off housing plus a 50% epic research discount would result in a 62.5% discount, not a 75% discount. Therefore, it is impossible to make the hen houses to free.
Purchasing a habitat will add 50 to the Piggy Bank.
Pay close attention to the images of the Habitats in the table below; when a Drone and a Habitat overlap, you can no longer tap (or see) the Drone, which means Habitats with smaller physical profiles make it practically easier to down Drones, particularly Elite Drones. This can make it more optimal for you to deliberately choose a lower capacity Habitat while improving your Farm. Thankfully, Chicken Universe Habitats have a relatively small profile.
Your Internal Hatchery - which comes from Research and Epic Research - is measured in Chickens per minute per Hab, so always make sure you have four habs. With enough epic research, a small full hab will still contribute chickens to a large one with room left.
When your Habitats are full, you lose access to the running chicken bonus, so always try to avoid full Habitats unless you are working on a contract and can't buy any more upgrades anyway. Possible warnings that can appear when your Habitats are near full or already full are "You're almost out of hen house space!" and "You're out of hen house space!"
Note: Prices below are BASE PRICES accurate to within 0.002 in Version 1.20.8 (May 2021). If you have "Cheaper Contractors" epic upgrade and think this table needs updating, ensure that you have done the proper calculation to obtain the original price with an error of less than 0.002 whatever-illion.
Trivia[]

Portal Hab
- The model of the Warehouse is used in a number of places, including Center and Eggkea.
- Eggkea is a parody of IKEA, a furniture company. It is also evident from the blue color scheme and yellow text.
- Purchasing a Planet Portal may use more of your device's resources. If you experience lag, this can be resolved by switching to Low-Performance Mode.
- The door to the Planet Portal is a circle by default. If the game detects your device struggling, it'll switch to a triangle. The triangle has fewer polygons to render, easing the burden on your device.
- Before factoring in research, a Chicken Universe has exactly 2.4 million times the capacity of a Coop.
- Prior to update 1.5 the highest hab was the "Portal" hab.