How long will a keg of homebrew stay fresh?

Quick answer: probably a lot longer than you’ll be able to keep yourself from drinking it all. Long answer: If dispensing with CO2, and maintained at the proper temperature (35-43 °F) and pressure (10-15 psi), homebrew will remain fresh for at least 6 months.