This paper realizes the speech source localization for microphone arrays based on the sound propagation model. According to the actual environment and location of the sound source, this paper divides the sound source into far-field source and near-field source and constructs the far-field sound model and near-field sound model applicable to the microphone array. The TDOA time-delayed localization algorithm is employed to locate the voice source of the microphone array by judging the sound far and near the field. In the localization test, this paper selects microphones to form an array according to the actual needs and preprocesses the sound signal data required for practice. The preprocessing data and sound source localization practice prove that the microphone array speech source localization algorithm used in this paper can effectively estimate the actual position of the sound source, and the absolute error between its estimated sound source position and the actual sound source position is only about 0.3m.