Therefore, magnesium supplements can be taken at any time of the day, as long as you're able to take them consistently. For some, taking supplements first thing in the morning may be easiest, while others may find that taking them with dinner or just before bed works well for them.