The Leksell gamma unit at the University of Pittsburgh uses 201 highly focused 60Co beams arranged in a hemispherical array. Selective beam blocking can be used to modify the treatment volume into ellipsoid shapes oriented in different directions to match better the shape of the target volume. Dose distributions for different blocking patterns were calculated using specially developed computerized 3-D treatment planning software. The changes in dose distribution with different blocking patterns predicted by computer were verified by film densitometry. Techniques for using selective beam blocking to match more closely the treatment volume to the intended target volume have the potential of reducing the likelihood of complications for radiosurgery with the Leksell gamma unit and need to be further developed.