A source tells People that the arrest spurred Richards, 50, to enter treatment.
"Kim went to rehab finally because she got arrested, she humiliated her kids and she wants to avoid jail," the source says. "If the arrest hadn't happened, she wouldn't be going to rehab; it would be business as usual. She's in denial that she has a problem."
Richards was arrested on April 16 at the Beverly Hills hotel and charged with public intoxication, trespassing, resisting an officer and battery on a police officer.
Richards recently spoke about her drinking habits with Dr. Phil, before storming out of the interview when Dr. Phil questioned her parenting skills. The interview is scheduled to air Tuesday on Dr. Phil.