Never underestimate a dog’s loyalty -- or a family's loyalty to their dog.

Two years after Murphy the golden retriever vanished during a camping trip in California’s Tahoe National Forest, he’s been found alive and well.

The dog first went missing in October 2012. His owners, the Braun family, always held out hope they’d find Murphy again.

Finally, earlier this month, a camper spotted the dog eight kilometres from where he first disappeared, the Los Angeles Times reported.

The camper then contacted the Brauns, who travelled back to Tahoe National Forest.

They spent days looking for Murphy without success, then left items with their scent at the camp site. The trick worked.

“After 20 long months of being in the Tahoe National Forest, Murphy has come home,” the family wrote in a Facebook post. “As you can imagine we are completely shocked and amazed with the miracle of her surviving this long.”

In another Facebook post, a member of the Braun family said the dog is “doing great.”

“I think I spent more $$ on her food than ours. I am ok with that!!” wrote owner Erin Braun.