A 45-year-old man was found seriously injured in a property in Forth View, Kirkcaldy, at about 0500 on Thursday. He died at the scene.
The flats were cordoned off as forensic officers searched the area and neighbours were interviewed.
A 61-year-old man is due to appear at Kirkcaldy Sheriff Court later charged with murder.
A man has been charged with murder after the death of a man at a block of flats in Fife.