Diesel fuel can still be good after two years if stored properly. However, it's essential to keep in mind that diesel fuel can degrade over time and may not perform as well as fresh diesel.