With a gradient-corrected density functional method, we have studied computationally the influence of singleimpurity atoms on the structure, electronic, and magnetic properties of Ni
5 clusters. The square-pyramidalisomer of bare Ni
5 with six unpaired electrons was calculated 23 kJ/mol more stable than the trigonal bipyramidin its lowest-energy electronic configuration with four unpaired electrons. In a previous study on the clusterNi
4, we had obtained only one stable isomer with an O or an H impurity, but we located six minima for ONi
5and five minima for HNi
5. In the most stable structures of HNi
5, the H atom bridges a Ni-Ni edge at thebase or the side of the square pyramid, similarly to the coordination of an H atom at the tetrahedral clusterNi
4. The most stable ONi
5 isomers exhibit a trigonal bipyramidal structure of the Ni
5 moiety, with the impuritycoordinated at a facet, (
3-O)Ni
5, or at an apex edge, (
-O)Ni
5. We located four stable structures for a Cimpurity at a Ni
5 cluster. As for CNi
4, the most stable structure of the corresponding Ni
5 complex comprisesa four-coordinated C atom, (
4-C)Ni
5, and can be considered as insertion of the impurity into a Ni-Ni bondof the bare cluster. All structures with C and five with O impurity have four unpaired electrons, while thenumber of unpaired electrons in the clusters HNi
5 varies between 3 and 7. As a rough trend, the ionizationpotentials and electron affinities of the clusters with impurity atoms decrease with the coordination numberof the impurity. However, the position of the impurity and the shape of the metal moiety also affect theresults. Coordination of an impurity atom leads to a partial oxidation of the metal atoms.