Ideally, it is best to fertilize before rain or when rain is expected within the next couple of days. Fertilizing before rain allows the nutrients to be washed into the soil, ensuring they reach the grassroots effectively. However, if rain is not expected, you can still fertilize your lawn as long as you water it immediately afterward to help activate the fertilizer and prevent it from sitting on the grass blades.