The child - believed to have been about a day old - was found in a house in the Aberdeenshire town's High Street on Tuesday.
A spokesman for Grampian Police said: "A 25-year-old woman has been charged with murder."
She is expected to appear at Peterhead Sheriff Court on Thursday. Grampian Police remain at the scene. Flowers have been left at the property.