A good rule of thumb is to spray 30 minutes to an hour before the rain, if not sooner, depending on the brand you're using to kill weeds. Wait for the leaves to dry up before applying herbicide after a rainstorm since it could wash away the herbicide.