Joshu daimyo (daimyo who is allowed to live in a castle) is a social status in the early-modern times of the Edo period, and refers to a daimyo, who was allowed to have a castle as his residence in his kunimoto (hometown), among Daimyo families (feudal lord families) classified according to their resident provinces and resident castles into five ranks: kokushu (landed daimyos), jun (associate) kokushu, joshu (lord of a castle), joshukaku (joshu class), mujo (without a castle) (jinya [regional government office]).
城主大名（じょうしゅだいみょう）とは、近世江戸時代における大名の格式の一つであり、大名家をその居地・居城で区別する国主（国持大名）-準国主-城主-城主格-無城（陣屋）の5階級のうち、国許の屋敷に城が認められている大名をいう。