Ashwagandha can be taken at any time of day, but taking it in the evening may help with sleep and relaxation due to its calming effects.