Rafelcofer is a municipality in the Valencian Community of Spain, located within the province of Valencia in the Safor comarca. It lies approximately 74 kilometers south of Valencia city and about 6 kilometers from the Mediterranean coast.
The terrain around Rafelcofer is predominantly flat, with a slight elevation toward the south. The town sits within the Safor region, an area of the Valencian Community that includes the nearby coastal zone.