The 29-year-old "Girls" star raised money for NGO Planned Parenthood, that works for reproductive health as well as maternal and child health services, reported Female First.
Dunham went on to share a picture of herself in her undergarment and a necklace on Instagram post the auction.
"The @plannedparenthood event in LA tonight was so crazy inspiring. I also spontaneously auctioned the ovary patterned sweater off my body for a nice 4k to benefit PP... Had to walk home in my skivvies and a men's coat #worthit #onbrand #standwithPP," she captioned the photo.
""I don't look at Twitter anymore. I tweet, but I do it through someone else. I don't even know my Twitter password, which may make me seem like I'm no longer a sort of genuine community user.
"I really appreciate that anybody follows me at all, and so I didn't want to cut off my relationship to it completely, but it really, truly wasn't a safe space for me." she said.