Judge Robert Spear said the pair had "quite callously" taken food out of the mouths of workers brought to Hawke's Bay under the Registered Seasonal Employer (RSE) scheme.
The RSE scheme allows approved growers to bring in people from the Pacific islands and elsewhere to fill workforce shortages in horticulture and viticulture.
Judge Spear said the theft of their food had been a "very depressing experience" for the RSE workers, who had very little, and sent much of their earnings back to their families overseas.
A police summary of facts said Taumata-Hura and Kahika had entered the hostel, which was at the end of a long driveway, early on July 6.
They entered a shared kitchen and took a large amount of food from a freezer.
The pair were seen leaving in a white vehicle, which police spotted minutes later and followed.
When they caught up with the pair the frozen food was still in the car's boot.
When Taumata-Hura committed the burglary she was already on an intensive supervision sentence for theft, trespass, breach of bail and unlawfully getting into a vehicle, imposed in April this year.
Judge Spear said Taumata-Hura would not have to pay reparation for any of her dishonesty.
"She can't afford it," he said.
However, the judge imposed conditions for her not to possess or consume alcohol or non-prescription drugs, and not to have any contact with Kahika should he be released from prison.