The scene unfolded at the Dominion Apartments on the 15500 block of North Freeway Service Road.
Montgomery County Precinct 3 Chief Deputy Matt Rodrigue confirmed deputies were serving papers to let the father know that he had lost custody of his daughter.
Deputies were serving papers, telling the Dad he had lost custody of his daughter. Deputies say the dad refused to open the door at first.— Pooja Lodhia (@PoojaOnTV) July 30, 2016
He says the father refused to open the door and instead, started sending messages to the child's mother, saying he would harm the little girl.
After several minutes, deputies say the man walked outside and stood there with a gun to his head for about 20 minutes. He then shot and killed himself.
When deputies entered the apartment, they found the three-year-old girl dead with a gunshot wound.
No other details have been released.
To get alerts for breaking news, download the abc13 news app for iPhone or Android. You can also get breaking news alerts sent to you by email.