Critical Schr¨odinger forms and recurrent Dirichlet forms are connected through Doob’s h-transform. The criticality of Schr¨odinger forms leadsus to critical Hardy-type inequalities. The objective of this paper is to showthat several well-known optimal Hardy-type inequalities are unifiedly derivedfrom the h-transform of recurrent Dirichlet forms and to give new examples.