A doctor can usually diagnose a bunion by looking at it. A foot x-ray can show an abnormal angle between the big toe and the foot and, in some cases, arthritis.
Vanore JV. Diagnosis and treatment of first metatarsophalangeal joint disorders. Section 1: Hallux valgus. J Foot Ankle Surg. 2003; 42(3): 112-123.
King DM. Associated deformities and hypermobility in hallux valgus: an investigation with weightbearing radiographs. Foot Ankle Int. 2004; 25(4): 251-255.
Ferrari J, Higgins JP, Prior TD. Interventions for treating hallux valgus (abductovalgus) and bunions. Cochrane Database Syst Rev. 2004.