ERIR in Spain: roles and requirements for tokenized securities
What the ERIR is in Spain, who can act as one, how it is appointed, what it needs from the smart contract and how it keeps the register if a network fails.

In Spain, who holds a share or a bond is established by a register. If the securities are represented by book entries and admitted to trading, that register is kept by the central securities depository and its participants; if they are not, it is kept by a credit institution or an investment firm that the issuer appoints (Article 8 of Law 6/2023 on Securities Markets and Investment Services). That law added a third form of representation, systems based on distributed ledger technology or DLT, and its register also has someone responsible for it: the entity responsible for administering registration and recording, known by its Spanish acronym ERIR.
The network keeps the history of transfers without an entity having to record each transaction, as the CNMV, Spain's securities regulator, notes in its Q&A on DLT-based financial instruments (question 9). What the network does not do is answer to an investor, record a court attachment, process an inheritance or rebuild the register if it stops working. That is the ERIR's role: a supervised entity, authorized to safekeep securities, that the issuer appoints for each issuance and that is liable for its register. For the issuer, choosing one means deciding who will answer to its investors for the whole life of the security; for an entity that wants to take on the role, it means extending a custody authorization it already holds or applying for one. And for the team building the issuance, it means that everything the law assigns to the ERIR has to be executable in the smart contract from the first subscription.
A custody function, not a new type of entity
Article 8(4) of the law requires the issuer to appoint one or more entities responsible for the register, which may be the issuer itself or entities it chooses, and sets a condition with no exceptions: "in all cases" it must be an entity authorized for the activity in Article 126(a), safekeeping and administration of financial instruments on behalf of clients. In practice, that limits the role to credit institutions and to broker-dealers (sociedades de valores) or brokers (agencias de valores) authorized for that service. An issuer can act as its own ERIR only if it meets that condition, which a company issuing to fund its business does not normally do.
That is why the CNMV explains (question 12) that, for unlisted securities, the ERIR is not a new category of financial entity but a new function or form of securities custody. The route for anyone who wants to take it on follows from that. An investment firm that already safekeeps securities applies to amend its programme of activities; a regulated entity without that authorization has to apply for it, stating that it will use it to act as an ERIR; and for credit institutions authorized for custody, the CNMV processes the file when it registers them as the ERIR of an issuance.
That official register was created by Royal Decree 815/2023, whose Article 2(b) requires the CNMV to keep a public register of the ERIR for each issuance. Entries are made issuance by issuance, once the CNMV has checked that the entity has the legal capacity to safekeep securities and sufficient resources (question 13), and the CNMV states in each entry that it does not validate the terms of the issuance or the information provided by the issuer. As of 8 November 2026, the CNMV's ERIR register lists three entities: Minos Securities, Token City European Exchange and Ursus-3 Capital, all three agencias de valores. Their registered issuances include bonds, shares and short-term notes (pagarés); the count by type is on our Spain tokenization page.
Where the appointment is made: the issuance document
The appointment is not made in a separate contract but in the issuance document required by Article 7. The law allows the issuer to name a specific entity or to describe the requirements that whoever takes on the role must meet (Article 8(4)), and the CNMV summarizes what that document contains when the securities are on DLT (question 10): identification of the ERIR and of the securities, sufficient information on the system where they are recorded, "including among others the main aspects of its operation and governance", and the mechanisms the system uses to prove ownership, which Article 14 requires to be set out. The issuer files a copy with the ERIR, and both keep it available to holders and the public.
The document also determines which law governs the register. Article 5 applies the Spanish regime to DLT securities whose terms provide for it and, where the document is silent, to those of an issuer domiciled in Spain or of an issuance with a single ERIR domiciled in Spain. Since the content of the securities is the one set by that document (Article 7(4)), its description of the network, the permissions and the procedures is the benchmark against which the system's actual operation is checked. A document that only describes ordinary transfers leaves the operations the law assigns to the ERIR uncovered.
What the ERIR does over the life of the issuance
The securities come into existence with their first entry in the system in favour of the issuer or the subscribers (Article 10), and from then on the ERIR administers a register with the same legal effects as a book-entry register. A transfer takes place through the transfer recorded on the network, which has the same effect as delivering the certificates and can be asserted against third parties once it is recorded (Article 11); whoever appears in the register is presumed to be the holder and can require the issuer to perform the obligations attached to the security (Article 13). That is why Article 6(5) requires the system to guarantee the integrity and immutability of the issuance, identify holders directly or indirectly and determine the nature, characteristics and number of their securities, with each holder having access to information on their securities and transactions.
Indirect identification has a practical consequence. The holder shown in the register can be the end investor or an entity authorized to safekeep securities acting on behalf of its clients, provided it is recorded that it does so (Article 13(1)). A wallet address is therefore not enough to know who is entitled to be paid: the ERIR needs to link each address to a verified holder and to tell a transfer to another person apart from a change of address by the same investor, two operations that move tokens in the same way and have different legal effects.
The remaining functions are in Articles 8(4), 12 and 14, and the CNMV lists them together (question 11): handling corporate events, including the payment of interest and dividends; recording pledges, attachments, judicial enforcement and transfers on death; and issuing certificates of entitlement. The certificate has an effect the system has to reproduce: while it is outstanding, the securities it covers cannot be transferred or encumbered (Article 14(4)). In addition, an unexpired certificate issued by an ERIR is an enforceable instrument under Article 517 of the Civil Procedure Act, as the CNMV notes (question 7), a status that neither a block explorer screenshot nor a PDF generated by the interface has.
What the smart contract has to allow the ERIR to do
Those functions can only be performed if the ERIR has the permissions on the network to carry them out. The CNMV says so expressly: the ERIR "must have the necessary capabilities and permissions in the registration system" to record encumbrances, execute forced transfers and issue certificates in accordance with the law (questions 19 and 20). In question 25 it describes how this is usually done: the issuance contract limits the addresses between which the securities can be transferred through a list of authorized addresses, and includes functions accessible only to the ERIR that allow it to create or remove securities at an address, freeze them or transfer them to another. The same answer adds that the ERIR must be able to ensure that those contracts are correctly designed and deployed through audits or similar measures.
Custody of the keys is a separate matter from the register. The private keys that authorize transfers can be held by the holder, although the usual arrangement, according to the CNMV, is for a third party to hold them, which may be the ERIR or an intermediary (question 27). The required outcome is the same either way: losing a key or having it stolen cannot mean losing the securities, because the contract has to restrict their transfer and allow the ERIR always to restore the securities to their holder. That is where the separation between investor keys and the ERIR's administrative keys comes from; the latter need their own access, revocation and replacement rules because they are the ones that can move other people's positions.
A standard such as ERC-3643 provides several of those pieces out of the box: transfers only between verified identities, an agent role that can freeze positions or force transfers, and recovery of tokens to a new address of the same holder. Choosing it settles part of the design. Who holds that role, what procedure they follow before using it and what evidence each action leaves are decisions for the ERIR and the issuer, and a code audit checks that the contract does what was intended, not that the issuance complies with the law. That distinction is developed in our article on what a smart contract audit proves.
Register continuity: contingency plan and change of network
Royal Decree 814/2023 adds an obligation that falls directly on the ERIR: it must have a contingency plan that ensures incidents affecting the network are managed and that the register continues if the network fails or its use as a registration system ceases to be viable "for any reason" (Article 5(2)). The CNMV specifies what it expects from that plan (question 26). It mentions as possible causes an attack that compromises the network's integrity, operating costs that become too high because of gas prices, latency or lack of scalability, and concludes that the ERIR must have a plan designed to "move the register to another network".
The technical consequence is specific. Moving an issuance requires fixing the valid state of the register at a given moment, with holders, balances, freezes and encumbrances, reproducing it on the destination network and disabling the original contract, so that two representations of the same issuance never coexist. That procedure is designed and tested before the first subscription. A copy of the interface's database does not replace it, because the valid register is the one on the network, not the one in the application that displays it.
Continuity is also protected against the ERIR itself. If it is declared insolvent, holders have a right of separation over the securities recorded in their favour and can ask for them to be moved to another ERIR (Article 15). And the ERIR is liable to anyone harmed by entries not made, inaccurate or late entries, and intentional or negligent breach of its obligations (Article 8(6)), as well as being subject to the law's sanctions regime (CNMV, question 14).
When the securities trade on a DLT infrastructure
Everything above describes an issuance that is not admitted to trading, whose securities are transferred privately between the parties (question 23). If the issuance is admitted to a trading venue, the responsible party changes: Article 8(5) transfers compliance with Article 6(5) and the functions in Article 8(4) to market infrastructures authorized by the CNMV under EU rules. The CNMV specifies that these are DLT Pilot Regime infrastructures under Regulation (EU) 2022/858, and that the role falls on the infrastructure that settles the securities (questions 12 and 24). In November 2025 the CNMV authorized the first DLT-based trading and settlement system in Spain, operated by Securitize Europe Brokerage and Markets, S.V., S.A. If an issuance is admitted to an infrastructure of that kind, responsibility for the register passes from the ERIR to that infrastructure.
An example: a short-term note on DLT
The case is hypothetical. An industrial distribution company domiciled in Spain decides to fund its working capital with nine-month notes (pagarés) represented on DLT and placed with professional investors. Notes maturing in less than 365 days are treated as transferable securities for these purposes (Article 5(2)), so the issuance follows the Law 6/2023 regime and needs an ERIR.
The company has no custody authorization and cannot be its own ERIR. It chooses an agencia de valores that already has the role enabled and appoints it in the issuance document, which describes the network, the token contract, the permissions of the agent role and the mechanism for issuing certificates. Before accepting, the agencia checks that the contract gives it the powers the law requires, such as freezing positions, restoring them and executing transfers ordered by a court, and that its contingency plan can be carried out on that network; the CNMV then enters the appointment in its official register.
Over the life of the note, the situations the role exists for come up. Three months in, an investor reports losing access to their wallet: the ERIR verifies their identity, freezes the old address and restores the position to a new one, without treating it as a transfer. In the fifth month, a court attachment arrives over another investor's position, and the ERIR records it and freezes those securities until the court decides. At maturity, the company pays the face value to the holders on the register at the record date, and the ERIR records the redemption and the cancellation of the securities. None of those operations is decided by the contract on its own; the ERIR carries them out with the permissions the design gave it from the outset.
The ERIR gives legal standing to the DLT register, not to the issuance
The ERIR is the piece that gives a DLT register the same legal standing as a book-entry register. Without it, a network could keep an accurate history of balances with no one answerable for it to an investor, a court or the CNMV; with it, that history has a supervised party responsible for it, subject to a liability regime and required to keep it running even if the network has to change. That is the value of the role and the reason the law reserves it for entities already authorized to safekeep securities.
Its scope is also precise. Registration with the CNMV does not validate the issuance, the ERIR does not answer for the issuer's solvency or the price of the securities, and its role does not include deciding whether the offering needs a prospectus or who can market it, decisions covered in our article on how to issue a security token in Spain. Nor does it turn the issuer's platform into a market: organized trading goes through Pilot Regime infrastructures, and the classification of the token and the services around it are analysed in MiFID II and tokenization.
In an issuance, the issuer, the ERIR and the technical team work on the same design. The issuer and its law firm define the security and draft the issuance document; the ERIR defines which powers it needs on the network and the procedure it will follow to use them; the technical team builds the contract, the investor onboarding and verification platform and the integration with the ERIR's procedures, and provides evidence that each operation works, including those that must be rejected. At Metlabs we handle that technical side, with a tokenization platform that integrates with the ERIR the issuer appoints. Developments in the regulatory framework are tracked in our Spain regulation guide.
- BOE: Law 6/2023 on Securities Markets and Investment Services, Articles 5 to 15 and 126
- BOE: Royal Decree 814/2023, Article 5(2) (ERIR contingency plan)
- BOE: Royal Decree 815/2023, Article 2(b) (official ERIR register)
- CNMV: Q&A on DLT-based financial instruments
- CNMV: register of entities responsible for DLT-based securities registers (accessed 8 Nov 2026)
- CNMV: authorization of the first DLT-based trading and settlement system (26 Nov 2025)
- EUR-Lex: Regulation (EU) 2022/858 on a pilot regime for DLT market infrastructures
Frequently asked questions
Got a blockchain project in mind?
From idea to product, strategy and technology must move forward together.







