The closest relative of the domestic dog is the gray wolf (Canis lupus). Dogs and wolves share a common ancestor from roughly 15,000 years ago. Selective breeding created the diverse dog breeds we know today, while wolves remained largely unchanged. They can still interbreed and produce fertile offspring, confirming their close genetic relationship.