The invention discloses a phased-array antenna active standing wave automatic testing device which comprises a computer, a vector network analyzer and a multichannel matrix switch. The multichannel matrix switch is connected with an antenna array to be tested. The switching time of a matrix switch and the data acquisition time of the vector network analyzer are configured to be synchronous. The vector network analyzer is configured to test and store the standing wave coefficients of respective antenna elements in the antenna array and the mutual coupling coefficients between the elements. According to the active standing wave computational formula of the antenna elements in the phased array, an automatic computation program is written. After the standing wave coefficients and mutual coupling coefficients of the antenna elements in the entire antenna array are tested, the active standing wave parameters of respective antenna elements are calculated and output, and then the test is completed. The invention also discloses a method for automatically testing the active standing wave of a phased-array antenna. The automatic test shortens the active standing wave test time of the phased-array antenna, reduces labor cost, improves test work efficiency, and reduces test cost.