We may not want to think about it, but all pet parents will have to say goodbye to their cherished dogs one day. And although they are sure to be deeply loved no matter how long they are in your life, some will get to stay longer than others.

Every responsible owner wants the best for their dog, so should do everything in their power to ensure their dog remains healthy and happy into old age. Dogs need a nutritious diet, plenty of exercise and access to veterinary care.

Although every dog is different and their health could be affected by underlying conditions or lifestyles, some breeds are healthier than others and less prone to health conditions that may shorten average life spans.

Below, using data from the American Kennel Club, PetMD and the Dogs Longevity website set up by Dr. Kelly M. Cassidy, Newsweek rounds up which breeds have the average longest life spans.

Jack Russell and Parson Russell terriers

Russell terriers are alert and lively and tend to be “happy, healthy little dogs,” according to the Kennel Club. They live to the average age of 14.

Jack Russell Terrier
Jack Russell terriers, seen on a bed of hay, are generally healthy dogs.
Tim Graham/Getty

Lhasa apso

Lhasa apso dogs are smart and confident and, as a breed, generally robust and healthy. These dogs will likely live to be around 14 years old.

Lhasa Apso
A Lhasa apso at the NEC Arena in Birmingham, England, for the Crufts dog show on March 10, 2018. Lhasa apsos have an average life span of 14.
Richard Stabler/Getty

Miniature dachshund

Miniature dachshunds are friendly and lively. They have average life spans of 14 years as long as they are kept healthy and happy.

Miniature Dachshunds
A miniature dachshund in Victoria Tower Gardens, London, on October 25, 2012. Miniature dachshunds live to 14 on average.
Dan Kitwood/Getty

Miniature poodle

Miniature poodles are smart and proud. They can generally live to be any age from 10 to 18.

Toy poodle
Miniature poodles in Tokyo on April 3, 2010. The breed can live to the age of 14 on average.
Koichi Kamoshida/Getty

Bearded collie

The American Kennel Club describes the bearded collie as a “sturdy” breed that generally lives until the age of 12 to 14. These dogs are smart and charismatic.

Bearded Collie
The American Kennel Club describes the bearded collie as a “sturdy” breed that generally lives until the age of 12 to 14.
H. Armstrong Roberts/ClassicStock/Getty

Cardigan Welsh corgi

Cardigan Welsh corgis are affectionate and smart dogs that are generally healthy, with an average life expectancy of 13.

Cardigan Welsh Corgi
A corgi at the Santa Anita Horse Racetrack in Arcadia, California, on May 26, 2019. Cardigan Welsh corgis have an average life expectancy of 13.
Mark Ralston/AFP/Getty

Dachshund

Dachshunds live for 12 to 16 years, according to the American Kennel Club. PetMD says they have an average life span of 13 years.

Dachshunds
Dachshunds at a parade on October 13, 2018, in Melbourne, Australia. Dachshunds live for 12 to 16 years on average.
Scott Barbour

English springer spaniel

As a breed, English springer spaniels are generally healthy and live to the age of 12 or 14. They are also friendly and obedient dogs.

English springer spaniel
An English springer spaniel on June 30, 2016, in Sydney, Australia. This breed is generally healthy.
James D. Morgan/Getty

Shetland sheepdog

Shetland sheepdogs are energetic and bright and have an average life span of 13 years.

Shetland sheepdog
A Shetland sheepdog at NASDAQ MarketSite in New York City on November 26, 2019. They are energetic and bright dogs.
Michael Loccisano/Getty

Shih tzu

Healthy shih tzu dogs can live to be any age between 10 and 18, but have an average life span of 13 years. Shih tzus are known for being affectionate and playful.

Shih Tzu
A pair of shih tzu dogs at the NEC Arena in Birmingham, England, for the Crufts show on March 8, 2014. Healthy shih tzus can live to any age between 10 and 18.
Matt Cardy/Getty

Toy poodle

Most toy poodles have long, happy and healthy lives and can live to be 18, although the breed’s average life span is 13. Toy poodles are generally smart and self-confident dogs.

Toy poodles
Toy poodles at the Crufts dog show on March 8, 2015. The breed’s average life span is 13 years.
Carl Court/Getty

Border collie

The smart and energetic border collie is hardy and healthy. The breed will generally live to the age of 13.

Border Collies
Three border collies on August 4, 2018, in Sydney. The breed is hardy and will generally live to the age of 13.
James D. Morgan/Getty

West Highland white terrier

West Highland white terriers are loyal and happy dogs. They have average life expectancies of 13, as they are generally a healthy breed.

West Highland White Terriers
A West Highland white terrier at Pier 92 in New York City on February 13, 2016. The terriers have average life expectancies of 13 years.
Brad Barket/Getty

Whippet

Whippets are affectionate and playful dogs that live to an average age of 13. They will benefit from maintaining a healthy diet, as their frames are not suited to carrying excess weight.

Whippets
Whippets at the Crufts dog show on March 11, 2012. Whippets are affectionate and playful dogs that live to an average age of 13.
Whippets/Getty

Afghan hounds

The Afghan hound is a dignified and loyal breed that has an average life span of 12 years.

Afghan Hound
An Afghan hound at Crufts on March 9, 2018. Afghan hounds are a dignified and loyal breed.
Leon Neal/Getty

Golden retriever

Golden Retrievers are friendly and devoted dogs that live to the age of 12, on average. They are generally healthy as a breed.

Golden Retriever
A golden retriever at American Kennel Club headquarters in New York City on February 22, 2016. Golden retrievers are friendly and devoted dogs that tend to live to the age of 12.
Jamie McCarthy/Getty

Australian shepherd

Australian shepherds are smart and work-oriented dogs that are generally healthy and have an average life span of 12 years.

Australian shepherd
An Australian shepherd on November 2, 2012, in Berlin. Australian shepherds are generally healthy and have an average life span of 12 years.
Sean Gallup/Getty

Beagle

Beagles are friendly and curious dogs and generally live to an average age of 12.

Beagle
A beagle at American Kennel Club headquarters in New York City on February 22, 2016. Beagles are friendly and curious dogs.
Jamie McCarthy/Getty

Bichon frise

The bichon frise breed is playful and curious. They have an average life span of 12 years.

Bichon frise
A bichon frise at the Westminster Kennel Club show in New York on February 13, 2017. The breed has an average life span of 12 years.
Timothy A. Clary/AFP/Getty

English cocker spaniel

English cocker spaniels are energetic dogs that generally live to the age of 12.

Cocker spaniel
A cocker spaniel on June 4, 2017, in South Shields, England.
Ian Forsyth/Getty

English setter

English setters are friendly and merry. They tend to live to be around 12 years old.

English setter
An English setter at the Crufts show in Birmingham on March 9, 2014. English setters are friendly and merry dogs that tend to live to be around 12 years old.
Matt Cardy/Getty

Irish setter

Irish setters are an active breed that live to the age of 12, on average. They are generally healthy.

irish setter
An Irish setter at Crufts in Birmingham, England, on March 11, 2016. This active breed has an average life span of 12 years.
Ben Prunchie/Getty

Labrador retriever

The friendly and outgoing Labrador retriever can live to be around 12 years old if they are kept healthy.

Labrador
A Labrador at Crufts on March 11, 2017. The friendly and outgoing Labrador retriever can live to be around 12 years old.
Matt Cardy/Getty

Maltese

Maltese dogs are known for being playful and charming. As a breed, they have few health issues and “will usually live well into the double digits,” according to the American Kennel Club. They have an average life span of 12 years.

Maltese
A Maltese at Madison Square Garden in New York City on February 13, 2006. The breed has an average life span of 12 years.
Shawn Elhers/WireImage/Getty

Miniature schnauzer

Miniature schnauzers are smart and obedient dogs and generally a healthy breed, living to an average age of 12 years.

Miniature Schnauzer
A miniature schnauzer at Madison Square Garden in New York City on February 16, 2016. The breed lives to an average age of 12 years.
Matthew Eisman/Getty