# When does combat begin and end during a dungeon? [duplicate]

I am a first-timer trying to prepare to host my first D&D night as DM with a bunch of curious friends (also first-timers in roleplaying).

I got the Starter Set so I'll be trying to play the Lost Mine of Phandelver campaign. After reading the Starter Set Rulebook and the first chapter of the campaign book, I find myself wondering about turns and time.

Are there still turns between encounters inside a dungeon? Are the player characters limited by their speed while moving in the dungeon out of combat?