In one message obtained by the Mail on Sunday, the Prime Minister thanked Mrs Brooks for letting him ride one of her horses, joking it was "fast, unpredictable and hard to control but fun".
In another the journalist, who faces trial in connection with the phone hacking scandal, praised Mr Cameron's speech to Tory conference, saying: "I cried twice."
The playful texts are apparently part of a cache of texts and emails handed to Lord Justice Leveson's media standards inquiry.
More top news
Philippa has the weekend weather for the east
Philippa has the weekend weather for the west
Landmarks across the south will switch off their lights for an hour tonight as part of action on climate change.