Buckwheat often causes severe allergic reactions, even when its ingestion level is extremely low. Therefore, buckwheat is listed in several countries as a common food allergen. In addition to common buckwheat and Tartarian buckwheat that are cultivated and consumed widely, wild buckwheat may be potentially allergenic. Food containing undeclared buckwheat poses a risk to patients with the buckwheat allergy. We describe in this report a PCR method to detect buckwheat DNA by using primers corresponding to the internal transcribed spacer region and the 5.8S rRNA gene. The method is buckwheat-specific and compatible with both cultivated and wild buckwheat of the Fagopyrum spp. Its sensitivity was sufficient to detect 1 ppm (w/w) of buckwheat DNA spiked in wheat DNA. This method should benefit food manufacturers, clinical doctors, and allergic patients by providing information on the presence of buckwheat contamination in food.