13세에 출가하였고, 30세에 경주 안강의 삼기산(三岐山)에 극곡사를 창건하고 수도하였다. 34세에 주술을 좋아하는 한 승려의 죽음을 보고 발심하여 589년(진평왕 11)진나라에 갔다.
중국의 금릉(金陵) 장엄사(莊嚴寺)를 비롯한 여러 강석에 다니면서 『성실론』, 『열반경』 등을 공부한 뒤, 오(吳)나라의 호구산(虎丘山)에 들어가 선정에 힘썼다.
『아함경』을 연구하면서 그곳에서 여생을 마치고자 하였으나, 많은 수행자들이 찾아와서 강의를 청하였고, 『성실론』과 『반야경』을 설하면서부터 이름이 알려졌다.
이 때 남북조로 갈라져 있던 중국은 수나라에 의하여 통일되었는데, 진나라의 수도인 양도(揚都)에서 전쟁포로로 붙잡혔다가 풀려나 장안의 흥선사(興善寺)로 갔다.
그곳에서는 『섭대승론』에 대한 연구가 크게 일어나고 있었는데, 원광은 거기에서 섭론종(攝論宗)의 논서들을 연구하였다.
이때 그는 이미 중국 불교계에 이름이 널리 알려져 있었다.
신라에서 귀국을 요청하자, 600년에 귀국하여 삼기산에 머물면서 대승경전을 강의하였다. 그 뒤 가실사(加悉寺)에 머물렀는데, 이 때 귀산과 추항이 찾아와서 계명(誡銘)을 구하자, 화랑의 실천 덕목으로 「세속오계」를 주었다.
Renunciation was 13 years old, and was founded in the pole goksa complaining of racing angang acid (三 岐山) on the 30-year-old capital. Balsim to report the death of a 34-year-old monk who like witchcraft to 589 years (Jinpyeong of Silla 11) went to the Qin Dynasty.
China Jinling (金陵) attending four different Gangseok including the sublime (莊嚴 寺) into the "good faith theory", etc. After studying the "Mahāyāna Mahāparinirvāṇa Sūtra" hogusan (虎丘 山) of the five (吳) struggled in the selected country. While studying the "ahhamgyeong" party, but finished the rest of his life there, many practitioners came to find was clean the river, known as the Name setting from the "sincerity Ron" and "Prajnaparamita".
China was unified by this time was divided into nambukjo the Sui Dynasty, was caught in a prisoner-of-war transfer (揚 都), the capital of the Qin Dynasty is released and went to four heungseon (興 善 寺) of the town.