Huiguan 會館, often translated as guild halls, were central institutions of guilds of merchants or trades (hangye huiguan 行業會館), either found in their hometown, or in foreign provinces, where they served to bring together immigrants from the same region (landsmannschaften, tongxiang huiguan 同鄉會館). Guild halls had one the one hand administrative purposes, and on the other served as centres for social activities, entertaining the guild members by theatre plays or carrying out ceremonies, for instance, for common ancestors (zushi 祖師) or protective deities or "saints" (shenzhi 神祇). In some instances, they also included living quarters. Being organizational centres for guilds, they also had the task to formulate rules for their business branch, and registered all members and their shops or workshops. Members of the guild had the right to borrow money, were supported financially and accompanied through all important stages in their lives, including the funeral. Last but not least, members found judicial assistance by the guild halls which was of particular importance when they lived in another province, with different legal customs.

Guild halls were found in all important cities of late imperial China. Alone in Beijing, there were more than a hundred (some sources say, more than four hundred) of them outside the southwestern Xuanwu Gate 宣武門. There one found once the Jiangxi Guild Hall 江西會館, the Fengtian Guild Hall 奉天會館, the Sichuan Guild Hall 四川會館 and the Guild Hall of Hunan 湖南會館, which still exists today. The oldest known institution, the Wuhu Guild Hall 蕪湖會館 in Beijing, was founded during the Yongle reign 永樂 (1403-1424) of the Ming period 明 (1368-1644). The most important type of merchant guild halls were the Shanxi Guild Halls 山西會館, where the long-distance merchants and bankers from that province organized themselves in foreign cities. In some cases, the merchants or tradesmen from two provinces joined in one institution, like Shanxi and Shaanxi (Shan-Shaan huiguan 山陝會館) or Hubei and Hunan (Hug-Guang huiguan 湖廣會館).

In many cities, surviving guild halls served today as museums. Donations and fees by the members allowed the authorities of many guild halls to construct lavishly decorated buildings. Most had a central hall (zhengting 正廳), a shrine (citang 祠堂), a theatre (xilou 戲樓, xitai 戲臺), and some even a guild school (xueshu 學塾). In Beijing, there were also guild halls of state officials and members of the gentry, so-called examination halls (shiguan 試館). After the Ming period, the importance of these halls declined. The difference between landsmannschaft-type halls and merchants halls was not always clear, because it was commonly the case that merchants from the same place of origin like to organize themselves in foreign places. In Fuzhou 福州, for instance, the paper producers (and sellers) from Dingzhou 汀州 and Shanghang 上杭 joined in the Dingzhou Guild Hall 汀州會館.