A dedicated police dog that collapsed after chasing two men for more than three kilometres after an alleged break-in last night is recovering at the vet.

The dog named Kane tracked two men to bushland after they had allegedly tried to climb through the window of an elderly man's home in Newcastle about 11.30pm.

Police will allege in court an 84-year-old man was in a home on Stayton Street, Adamstown Heights, when the two men, aged 22 and 27, attempted to enter his home.

Kane collapsed after he and his handler contained the men, who were both arrested and taken to Mater Hospital for treatment.

Kane was taken to the vet in a serious condition and is still receiving treatment.

The 27-year-old was taken to Newcastle Police Station where he was charged with several offences, including break and enter.

He was refused bail and is due to appear at Newcastle Local Court today.

The 22-year-old man is expected to be charged upon release from hospital.