How the digital farm logbook works in the Community of Madrid

In the Community of Madrid, the agricultural holding register (REA) has been mandatory since July 2023 and is managed by the Directorate-General for Agriculture, Livestock and Food. Registration and updates are done solely electronically, in the Sga holding register module.

The Community also offers its own digital farm logbook on the Sga portal. According to its website, filling in the CUE with this tool or with any commercial logbook is currently voluntary. Commercial logbooks communicate with the Administration through the Community's Single Interface, and entities register on its portal for authorised entities.

More information on the Community of Madrid's plant health and production page (in Spanish).

What you have to do

  • Register the farm in the REA (new registrations, within the month following the start of the activity) and review it at least once a year.
  • Notify the cessation of activity within one month.
  • If you work with a collaborating entity, authorise it to record your logbook.

Deadlines to keep in mind

  • Plant protection treatments: from 1 January 2027, the record must be kept in electronic format throughout Spain. During 2026, paper is still accepted (Royal Decree 1039/2025, which amends RD 1311/2012).
  • Complete digital logbook (CUE): for now it is voluntary. It will be mandatory with the next PAC/CAP period for farms of more than 30 ha, more than 5 ha of irrigated land or more than 0.1 ha of greenhouse (Royal Decree 34/2025).

Farmlog in the Community of Madrid

Barley and wheat occupy a large part of the cultivated area in Madrid, along with the olive grove, the vineyard of the DO Vinos de Madrid and the horticultural crops of the Tajo and Jarama fertile plains. Many advisory services work with farmers from several municipalities: in Farmlog, each farm has its own permissions, and the agronomist consults records, agronomic prescriptions and documents for each producer without mixing them up. Afterwards, the logbook is communicated or exported according to the community's system, and on the synchronisation screen you see what has been sent, what is missing and the reason for any rejection.

FAQs

Is the digital farm logbook mandatory in Madrid?

The complete digital farm logbook is voluntary for now. What will be mandatory from 1 January 2027 is to record plant protection treatments electronically.

Do I need to be in the REA to use a logbook?

Yes. The logbook is linked to your farm registered in the REA, whether you use the Community's tool or a commercial logbook.

Can a collaborator see my entire portfolio?

Not necessarily. In Farmlog, access depends on the role and the farms assigned to each person.

Do you want to see it with your farm? Request a demo and we will show you the complete journey in the Community of Madrid: from the WhatsApp message to the reviewed record, ready to communicate or export.