Rhaphium is a genus of flies in the family Dolichopodidae. It is the largest genus within the subfamily Rhaphiinae, with 201 species currently known.