In this paper, we investigate the Sherman-Morrison-Woodbury formula for {1}-inverses and {2}-inverses of bounded linear operators on a Hilbert space. Some conditions are established to guarantee that (A+YGZ*)? = A? ?A?Y(G? +Z*A?Y)?Z*A? holds, where stands any kind standard inverse, {1}-inverse, {2}-inverse, Moore-Penrose Drazin group core inverse dual A.