A conductivity sensor is described in which electrodes are held in a desired position within a housing of the sensor by a number of slots accurately positioned within the housing. In one embodiment the slots are integrally formed within the housing. Once the electrodes have been inserted into the slots a thermoset resin is poured into the housing and cured. A through bore is then drilled through the housing, the electrodes and the cured resin to form a flow conduit through the sensor. A dual frequency excitation technique is also described that allows a measurement to be obtained of a polarisation resistance of the electrodes. In one embodiment this measurement is stored and used to correct subsequent conductivity measurements.