Eggs stay fresh in your inventory for 5 days, then take 24h to rot. A pile of 32 eggs will turn into a pile of 16 rot .