The crash occurred at the intersection of Fulton and East Princess streets around 7:30 p.m.
The man driving the dirt bike hit the side of an SUV while trying to pass it, according to the coroner's report.
The cause of death was blunt force trauma to the head.
The driver of the SUV driver was unharmed.
The crash remains under investigation.
Click here to follow Daily Voice York and receive free news updates.