The invention relates to a method for producing olive oil, comprising the steps of: a) mechanically grinding whole olives, unpitted or pitted, until an olive paste is produced b) freeze-drying the paste from step a) to reduce the water content thereof and c) extracting the oil from the freeze-dried paste from step b). The invention also relates to a machine (1) for producing olive oil using the claimed method, which comprises a cavity (4) for receiving the olive paste or for receiving a container that contains olive paste, and which is characterised in that it comprises: a mixing or beating unit (2) that comprises a blade (6) for beating the freeze-dried paste means (7, 8, 9) for supplying water inside said cavity (4) or container and a unit (3) for pressing and/or centrifuging the beaten paste. The invention also relates to an olive paste characterised in that it has been freeze-dried after being ground to reduce the water content thereof.