We had no idea it got this bad!

Sarah Hyland made an appearance on Ellen, and got candid while discussing her battle with kidney dysplasia and how it almost drove her to suicide.

"At the time I was 26, after 26/27 years of just always being sick and being in chronic pain every single day and you don’t know when you’re going to have the next good day, it’s really, really hard. I would write letters in my head to loved ones of why I did it and my reasoning behind it, how it was nobody’s fault. I didn’t want to write it down on paper because I didn’t want anybody to find it. That’s how serious I was. I was very, very, very close," she told the talk show host.

“I finally said it out loud to someone … Just saying it out loud helped immensely because I kept it to myself for months and months at a time. I didn’t want anybody to know that I was that close, because if they knew they would try to persuade me. Every person with their anxiety or depression or if you have suicidal thoughts, every individual is different, so I wouldn’t just rely on everything that I say. I’m just sharing my story. But I think talking to someone and saying it out loud really, really makes it sound almost ridiculous and it puts it into perspective," she added.

The Modern Family star also opened up about her loving relationship with boyfriend Wells Adams, and explained how he first caught her eye.

"I had been watching the Bachelor franchise since I was a kid. It was just something my mom and I did together. So I watched his show and that's how we started talking. I would tweet about him because he referenced books. And I was like, 'Oh gosh, Bachelor contestants can read?!? This is amazing. He can read. And he has dimples! This is great," she joked.

We're glad she made it through to the other side!