Ambien usually starts working within 30 minutes to an hour after ingestion. It's advisable to take it when you have at least 7-8 hours available for sleep.