In Edo, Hatamoto took the post of Oban (or bankata; great guards) for guarding the Edo-jo Castle and the shogun, or civil officers (or yakugata; in charge of administration, judicature, or finance), such as machi bugyo (town magistrate), kanjo bugyo (commissioner of finance), ometsuke (inspector general) and metsuke (inspector).
江戸では江戸城の警備や将軍の護衛を行う大番（番方）、文官（役方、行政・司法・財政を担当）である町奉行・勘定奉行・大目付・目付などの役職についた。