Sentencing, Mr Justice Fulford told April Casburn she had been guilty of "a corrupt attempt to make money out of sensitive and potentially very damaging information".
The judge went on:
He said he was particularly concerned about Casburn's child, and admitted that her absence while she is in prison could be damaging.
But he said that, had she not been arrested, the detective would have returned to work by now, and therefore the child would be cared for by others anyway.
Detective Chief Inspector April Casburn was today jailed for 15 months at the Old Bailey after being found guilty last month of misconduct in public office for offering to sell information to the News of the World.
Casburn, 53, had been warned that a jail term was likely despite the fact that she is in the process of adopting a child.
A senior Met police detective is due to be sentenced today, after being convicted of trying to sell information to the News of the World about the phone-hacking inquiry.
April Casburn, who was found guilty of misconduct in public office in January, was told by the judge that she could face a custodial sentence.