The structural, electronic, magnetic, and optical properties of Au, Cu, Cr, Mn, Co, Ni, and Fe atoms doped 13-atom silver clusters were investigated by the density functional theory (DFT) in the theoretical frame of the generalized gradient approximation (GGA) exchange-collection function. The results show that all the ground state structures of Au, Cu, Cr, Mn, Co, Ni, and Fe atoms doped 13-atom silver clusters are icosahedral, respectively. The Au atom doped on the surface of Ag1313 cluster is stable, while other atoms doped in the center of Ag1313 cluster are stable. The electronic stability order from high to small is Ag1212Cr1, Ag1212Cu1, Ag1212Co1, Ag1212Fe1, Ag1212Au1, Ag1212Mn1, Ag1212Ni1. Their magnetic moments are not only related to the doping atom but also the doping location of the atom. The magnetic moments of the Cu, Au, Mn, Co, Ni, Fe, and Cr atoms doped in the Ag1313 cluster are 5.0, 3.0, 1.0, 3.0, 4.0, 2.0, and 0.0μBμB, respectively. Compared with the optical absorption spectrum of the Ag1313 cluster, the Au, Cr, and Mn atoms doped the Ag1313 cluster leading to blue shift, and the Cu, Co, Ni, and Fe atoms doped the Ag1313 cluster resulting in red shift. These studies provide a theoretical basis on applications for clusters in electronic, magnetic, and optical devices.