The invention discloses a microwave sensor based on an NV color center diamond. A diamond internally containing a Nitrogen-Vacancy color center is adopted as a sensitive element, electronic energy level stimulation is achieved through lasers, an additionally-arranged static magnetic field is scanned, and the microwave frequency and the microwave intensity are measured through fluorescence intensity detection. Dependency of electronic rabi-flopping of the NV color center in the diamond on the external microwave magnetic field is brought into play, high theoretical accuracy and good stability are achieved, the microwave sensor has the advantages of being small in size, low in cost, high in accuracy, large in temperature range, simple in operation condition and the like and rotates on the basis of solid atoms, and the microwave sensor can serve in all the fields with the requirements for the low-cost high-accuracy microwave frequency and intensity detection in the future.