Homemade key lime pie lasts well for 3-4 days. It's best to keep it in the original pie pan, then wrap it with aluminum foil in the fridge. If you can't finish it all in that time frame, freeze it for later!