Khvaf (; also Romanized as Khvaf and Khaf; also known as Qasabeh-ye Rud, Rud, Rui Khaf, and Ruy) is a city in and the capital of Khvaf County, in Razavi Khorasan Province, Iran. At the 2006 census, its population was 21,160, in 4,924 families. It is situated on being constructed Mashhad-Herat railway.