The invention provides a method for measuring the capillary pressure and wettability of a rock core, which comprises the following steps of: cleaning a rock specimen, drying, evacuating and saturating a first fluid; putting the saturated rock core into a rock core clamp holder of rock core displacement equipment, setting the experience temperature, saturating the dead volume of pipe lines at upstream and downstream ends of the rock core completely, and simultaneously, setting the pressure to maintain that the first fluid is injected under constant pressure; when the differential pressure of the upstream and downstream and the flow of the outlet end of the rock core are stabilized, injecting a second fluid under the condition of the same injection pressure; after the second fluid flows into the end face of the inlet end of the rock core, shutting a valve at the downstream end of the rock core, and recording the variation of the pressure and differential pressure of the upstream and the downstream ends of the rock core; and judging the capillary pressure and wettability of the rock core according to the pressure or differential pressure of the upstream and the downstream ends of the rock core. In the method, the capillary pressure and wettability of the rock core can be measured simultaneously under the condition of formation temperature and pressure, so the method has a simple process and is easy, quick and accurate to operate.