After the defeat of the Imagawa at the Battle of Okehazama, Tōtōmi was divided between the powerful warlords Takeda Shingen of Kai and Tokugawa Ieyasu of Mikawa.
At the end of the Tokugawa shogunate, Tōtōmi Province was divided among several feudal domains, which were assigned to close fudai retainers.
Following the defeat of the Tokugawa shogunate during the Boshin War of the Meiji Restoration, the last Tokugawa shōgun, Tokugawa Yoshinobu returned to Suruga in 1868 to rule the short-lived Shizuoka Domain, and the existing daimyōs in Tōtōmi were reassigned to other territories, mostly in Kazusa Province After the abolition of the han system in 1871 by the new Meiji government, during the first wave of prefectural mergers (第1次府県統合 daiichiji fu/ken tōgō), the new prefectures in Tōtōmi were merged into Hamamatsu Prefecture, with enclaves of other prefectures/exclaves in other provinces being removed, so that Hamamatsu and Tōtōmi became basically contiguous.
Note: The kokudaka given in the table is the total from within & without the province, not restricted to the parts of the domain actually located in Tōtōmi.
Note: The following figures are taken from the Japanese Wikipedia article, the database and publication series used as the original source are given in the external links.