The seismic risk of the buildings of Barcelona, Spain, is analyzed by using a method based on the capacity spectrum. The seismic hazard in the area of the city is described by means of the reduced 5% damped elastic response spectrum. Obtaining fragility curves for the most important building types of an urban center requires an important amount of information about the structures and the use of nonlinear structural analysis tools. The information on the buildings of Barcelona was obtainedby collecting, arranging, improving, and completing the database of the housing and current buildings. The buildings existing in Barcelona are mainly of two types: unreinforced masonry structures and reinforced concrete buildings with waffled slab floors. In addition, the Arc-View software was used to create a GIS tool for managing the collected information to develop seismic risk scenarios. This study shows that the vulnerability of the buildings is significant and therefore, in spite of the medium to low seismic hazard in the area of the city, the expected seismic risk is considerable.