Cary police said 48-year-old Crystal Faye Allison solicited a detective for sex at the Extended Stay America. Police found two children, aged three and five, in her room.
Detectives didn't say if Allison is the mother of the children.
She was additionally charged with maintaining a place for prostitution and soliciting prostitution.
She was held at the Wake County Jail on a $1,500 secured bond.