The formation of one-dimensional carbon chains from graphene nanoribbons is investigated using ab initio molecular dynamics. We show under what conditions it is possible to obtain a linear atomic chain via pulling of the graphene nanoribbons. The presence of dimers composed of two-coordinated carbon atoms at the edge of the ribbons is necessary for the formation of the linear chains, otherwise there is simply the full rupture of the structure. The presence of Stone-Wales defects close to these dimers may lead to the formation of longer chains. The local atomic configuration of the suspended atoms indicates the formation of single and triple bonds, which is a characteristic of polyynes.PACS numbers: 81.07. Gf, 61.46.Km, 71.15.Pd Nanoelectronics continuously searches for low dimensional systems which can be used either as nanocontacts or nanoconductors. Metallic nanowires, for example, are widely studied because they can present quantum conductance and the capacity to produce atomic chains [1,2].Carbon based-systems, such as carbon nanotubes [3] and more recently graphene and its derivatives [4], are another class of materials which have attracted strong interest. They present interesting mechanical and electronic properties with great potential for applications in nanodevices. Useful properties, such as stability, flexibility, charge carriers linear dispersion and high mobility, spin injection with long relaxation times and correlation lengths could lead to applications in spintronics.The possibility to join in the same system the features of one-dimensional wires and the properties of carbon based materials is a very exciting one. The electronic and transport properties of one dimensional carbon systems have already been studied by some groups [5,6,7,8,9,10,11]. However, the lack of reliable and effective ways to produce 1D carbon chains have limited the studies of these systems. Recently, two groups[12, 13] employed a technique similar to the one used for the fabrication of metallic quantum wires [14] to obtain experimentally stable and rigid carbon atomic chains, which brought new attention to this subject and opened up a new avenue in the investigation of onedimensional carbon-based systems.Even though this recent experimental work obtained these chains via removal of carbons atoms using the electron beam, one can envisage a situation where these chains could be obtained by stretching graphene nanoribbons [15,16]. In the present work we theoretically address this question. We perform room temperature ab initio molecular dynamics (AIMD) [17] to investigate the formation of linear atomic carbon chains from graphene nanoribbons. We elucidate the mechanism of formation of these chains and show under what conditions it is possible to form these wires.