A phenanthrene-degrading endophytic bacterium, Pn2, was isolated from Alopecurus aequalis Sobol grown in soils contaminated with polycyclic aromatic hydrocarbons (PAHs). Based on morphology, physiological characteristics and the 16S rRNA gene sequence, it was identified as Massilia sp. Strain Pn2 could degrade more than 95% of the phenanthrene (150 mg · L(-1)) in a minimal salts medium (MSM) within 48 hours at an initial pH of 7.0 and a temperature of 30 °C. Pn2 could grow well on the MSM plates with a series of other PAHs, including naphthalene, acenaphthene, anthracene and pyrene, and degrade them to different degrees. Pn2 could also colonize the root surface of ryegrass (Lolium multiflorum Lam), invade its internal root tissues and translocate into the plant shoot. When treated with the endophyte Pn2 under hydroponic growth conditions with 2 mg · L(-1) of phenanthrene in the Hoagland solution, the phenanthrene concentrations in ryegrass roots and shoots were reduced by 54% and 57%, respectively, compared with the endophyte-free treatment. Strain Pn2 could be a novel and useful bacterial resource for eliminating plant PAH contamination in polluted environments by degrading the PAHs inside plants. Furthermore, we provide new perspectives on the control of the plant uptake of PAHs via endophytic bacteria.