The woman had just given birth to the baby, apparently in the apartment. She threw the infant out of the first storey window Sunday evening in the Berlin district of Charlottenburg.
The infant died in hospital Monday morning.
The mother was also taken to hospital and then handed over to criminal investigators. She will be investigated by police officers specialising in child neglect and abuse.
She was being tested for psychological illness, a police spokesman said.