A method and apparatus for wafer bonding. The method includes that, a first position parameter of a first alignment mark on a first wafer is determined by using a optical beam; a second position parameter of a second alignment mark on a second wafer is determined with the optical beam, the optical beam has a property of transmitting through a wafer; a relative position between the first wafer and the second wafer is adjusted with the optical beam according to the first position parameter and the second position parameter until the relative position between the first alignment mark and the second alignment mark satisfies a predetermined bonding condition; and the first wafer is bonded to the second wafer.