Yes. All dogs, regardless if they never leave the yard, must be licensed. Dogs have a way of getting out through gates accidentally left open or by digging under fences. Loud noises, such as fireworks, and natural disasters like an earthquake or fire may cause your pet to flee the safety of your property. Having a dog license on its collar will help reunite your lost pet with you.