A method for performing a microphone matching of a hearing aid comprising a first microphone, a second microphone and a receiver in a predetermined spatial arrangement relative to each other, the method comprising the steps - generating an output sound signal by means of the receiver; - picking up a first input sound signal by the first microphone and a second input sound signal by the second microphone while the output sound signal is generated; - converting the first input sound signal into a first electrical microphone output signal by means of the first microphone and the second input sound signal into a second electrical microphone output signal by means of the second microphone; CHARACTERIZED IN a) Measuring a current feedback path difference between the first and second microphones relative to the receiver, said measuring being based on the output sound signal and the first and second electrical microphone output signals; b) Providing a reference feedback path difference, and a threshold (th) value representing an acceptable difference between the current and the reference feedback path difference; c) Finding a matching difference between the current feedback path difference and the reference feedback path difference; d) determining whether the matching difference is smaller than the threshold value (th); and e) If no, adjusting the microphone gains and repeating steps a), c), d); f) If yes, the microphone matching is successfully ended. - generating an output sound signal by means of the receiver; - picking up a first input sound signal by the first microphone and a second input sound signal by the second microphone while the output sound signal is generated; - converting the first input sound signal into a first electrical microphone output signal by means of the first microphone and the second input sound signal into a second electrical microphone output signal by means of the second microphone; CHARACTERIZED IN a) Measuring a current feedback path difference between the first and second microphones relative to the receiver, said measuring being based on the output sound signal and the first and second electrical microphone output signals; b) Providing a reference feedback path difference, and a threshold (th) value representing an acceptable difference between the current and the reference feedback path difference; c) Finding a matching difference between the current feedback path difference and the reference feedback path difference; d) determining whether the matching difference is smaller than the threshold value (th); and e) If no, adjusting the microphone gains and repeating steps a), c), d); f) If yes, the microphone matching is successfully ended. a) Measuring a current feedback path difference between the first and second microphones relative to the receiver, said measuring being based on the output sound signal and the first and second electrical microphone output signals; b) Providing a reference feedback path difference, and a threshold (th) value representing an acceptable difference between the current and the reference feedback path difference; c) Finding a matching difference between the current feedback path difference and the reference feedback path difference; d) determining whether the matching difference is smaller than the threshold value (th); and e) If no, adjusting the microphone gains and repeating steps a), c), d); f) If yes, the microphone matching is successfully ended.