Hendricks is set to star in Gosling's writing and directorial debut How to Catch a Monster.
Gosling apparently contacted Hendricks earlier this year saying that he had written a screenplay with her in mind.
The Mad Men actress told Vulture that his request was "very heartwarming and the biggest compliment ever".
She added: "He sent the script over in this cool box with an interesting little key, and cool artwork in it.
"It was like the full package! And then I read the script and was in love with it, so I called him back and said, 'Yeah, please'."
Hendricks will play a struggling mother-of-two, whose children find themselves on a strange adventure in an underground city.
"I don't know what the exact budget is, but I think we've got a nice amount," she said.
"I'm sure it will be incredibly clever, and Ryan already has storyboards and pictures of neighbourhoods and homes, and he's already collecting music for it... when you read it, it gives you the feeling, maybe, of a memory. Something from your childhood that you can't really pinpoint."
How to Catch a Monster is expected to release in 2014.
Watch a trailer for Hendricks and Gosling's Drive below: