The character of Moll is based on a real-life prostitute, Kate Hackabout, who was apprehended by Gonson in 1730 and sentenced to hard labour for keeping a disorderly house.
Moll's character in the story draws inspiration from the life of Kate Hackabout, a real-life woman who was arrested and imprisoned for operating an illegal brothel.