Yes, taking with food is fine and maybe even preferable, especially if within 1 hour of bedtime as product directions indicate.