A Queensland woman who went on a spending spree after being overpaid by Centrelink has been jailed for six years.

The District Court in Brisbane was told more than $2 million was mistakenly put in Judy Lorbek's account in February last year.

Lorbek, 47, from Nambour on the Sunshine Coast, spent the money instead of returning it.

Commonwealth prosecutor Aimee Aisthorpe told the court Lorbek wrongly received the money when she asked for an emergency child support payment.

A Department of Human Services operator inadvertently entered the date in the payment field.

Lorbek used the money to pay off her mortgage, take family holidays, shop and gamble.

In sentencing, Judge Gary Long SC told Lorbek: "There was no suggestion you sought to make any inquiry regarding the funds, but rather you acted quickly to transfer the funds and you were only stopped by police intervention."

Outside the court in Brisbane, her lawyer Michael McMillan said Lorbek would lose her home under a reparation order made by the court.

"This is a bit of a kick in the teeth really at the end of the day," he said.

"She never asked for the money and now even though she did the wrong thing by spending it, she's really paying for it.

"The temptation was too much and she succumbed to it.

"She's got nothing after today - she'll have no house, nothing left."

Lorbek will serve at least 18 months in jail before she is eligible for parole.