They may have been broken up for two years, but Wilmer Valderrama clearly still cares about Demi Lovato's well-being.

Entertainment Tonight reports that the actor has been visiting Lovato, who is apparently "doing well," in rehab.

A source told the outlet that both Lovato's mother, Dianna De La Garza, and Valderrama have been visiting the pop star "when they can."

"Demi has been fortunate to have her family and friends for support during this time," the source explained. "She’s working very hard on bettering herself and staying on the right path. Sobriety is the most important thing in Demi’s life right now."

According to the source, as well as an earlier report from TMZ, Lovato has also been moved to a different rehabilitation facility.

Valderrama was previously spotted visiting Lovato at the Cedars-Sinai Hospital in Los Angeles a day after she suffered a drug overdose on July 24.

Lovato and Valderrama split in 2016 after six years of dating. The pair announced their breakup in a shared statement posted to the singer's Instagram account.

12 Celebrities Who Are Sober

More From K-Fox 95.5