Goldsboro Police said David Sykell Green shot and killed 33-year-old James Michael Smoot.
It happened late Sunday afternoon in the 600 block of Bizzell Court in Goldsboro.
Green was taken into custody within two hours and charged with first-degree murder.
He is being held without bond.
Police have not given a motive for the shooting.