PurposeThe proposed definitional framework can be used to define housing typologies of cities in developing countries. It aims to define housing typologies in the capital city of Albania, Tirana, using the proposed hierarchical framework within the dynamics of four political periods: Ottoman, establishment, socialist and postsocialist.Design/methodology/approachThis study proposes a new definitional approach for the housing typologies through a hierarchical framework that defines the typologies based on their political period and legality statuses departing from the case of Tirana, which is featured by a heterogeneous context. Such context is characterized by uncontrollable urban development, making typology definition problematic. Furthermore, beyond the form, spatial and functional features, it presents their exterior distinctiveness as an innovative element. The methodology used in the study includes archival research, image documentation, spatial, functional and exterior distinctiveness analysis of housing typologies and exploration of housing form features in different political periods.FindingsThe study identifies urban formal housing typologies in Tirana detached houses, apartments, mass housing, social housing, gated communities, informal detached houses and housing with in/formal additions.Originality/valueThis definitional approach can be used to define housing typologies for cities featured by heterogeneous urban context.