Hydrogen-induced degradations have generally been investigated through the ex situ testing of cathodically hydrogen-charged specimens. However, the cathodic charging cannot realize damage accumulation by gaseous hydrogen in transportation pipelines. Thus, we designed an ampule specimen which enables an in situ tensile test containing gaseous hydrogen. Ampule specimens made of API (American Petroleum Institute) X65 pipeline steel showed significant reductions of 3.4 % and 4.1 %, respectively, in their ultimate tensile strength and fracture strain after exposure to 20 MPa of hydrogen gas. The resulting fracture surface showed quasi-cleavage perpendicular to the loading direction and a fracture thickness close to the initial wall thickness, significantly different from the complex dimples and highly reduced fracture thickness by shear deformations in nitrogen gas and air environments.