Wafir.ma
💰 Personal finance

Debt consolidation for civil servants in Morocco: conditions, salary deduction and real cost

By Wafir TeamUpdated on November 30, 202611 min read

A loan buyback (rachat de crédit) lets a Moroccan civil servant replace several running loans (consumer, car, sometimes a mortgage) with a single loan, repaid by deduction from the salary or from the account it is paid into. The monthly payment often falls, but the term gets longer and the total cost almost always rises. This guide starts from the legal texts: law 31-08 bans any penalty for repaying a consumer loan early, and for a mortgage it caps the penalty at one month of interest, never more than 2% of the outstanding capital. It explains what changes for staff paid by the Treasury (Trésorerie générale du Royaume, TGR), what Bank Al-Maghrib publishes on civil servants' debt, a worked example with the calculation method, the documents to gather, the traps to avoid and how to complain, up to the Moroccan Banking Mediation Centre. No bank rates are quoted: only the lender's written offer binds you, and every application is assessed case by case.

1. How a loan buyback works

A lender, new or existing, repays your running loans early and grants you one loan in their place. You are left with one instalment, one rate and one term.

  • Loans covered: consumer loans (personal loan, car loan, revolving credit) and, in some cases, a mortgage. Buying back a mortgage means releasing the existing mortgage charge and registering a new one.
  • Repaying the new loan: by deduction at source from the salary (précompte) where the paying body and the lender allow it, or by direct debit from the account the salary is paid into.
  • For a mortgage, law 31-08 states that an authorisation to debit a bank account or a source of income only takes effect with the loan contract (article 121).
  • Ask each current lender for an early repayment statement at a given date: that is the amount the new loan must cover.

There is another route: asking your current lender to renegotiate the rate or the term. For a mortgage, the law then requires an amendment to the contract, with a new repayment schedule, a recalculated annual percentage rate and a ten-day cooling-off period (article 125 of law 31-08).

To estimate a new monthly payment from your own figures, use the loan buyback simulator.

2. What changes for a civil servant

A buyback follows the same rules for every borrower. The difference lies in how the loan is repaid and how pay is managed.

  • Deduction at source: for staff whose pay is handled by the Treasury (TGR), loan instalments can be deducted straight from the salary (précompte), under agreements signed with lending institutions.
  • After retirement: according to the Ministry of Economy and Finance, an agreement signed on 13 December 2010 between the TGR and the Moroccan Pension Fund (Caisse marocaine des retraites, CMR) keeps deductions running from active service into retirement. A loan can therefore continue after retirement if the lender agrees.
  • In a buyback, the old deduction must stop and the new one start. Check your next payslips to make sure only one deduction remains for the loan that was bought back.
  • Civilian and military staff: this guide also applies to members of the Royal Armed Forces, the Royal Gendarmerie, the Royal Navy and the Auxiliary Forces. The deduction method depends on the body that pays the salary: ask your personnel department.

Assignable share of salary: what we could check

The share of salary that can be deducted for loans, and the amount that must remain available each month, are applied by the payroll department. We found no recent, published official text setting these limits for civil servants. Ask your personnel department or the lender, and keep their answer in writing.

Debt-to-income ratio: no single cap in the texts

Neither law 31-08 nor Bank Al-Maghrib's customer protection pages set a maximum debt-to-income ratio that applies to all lenders. Each institution applies its own risk policy.

Bank Al-Maghrib does track this ratio. According to the 2025 financial stability report, published in July 2026 with the insurance regulator (ACAPS) and the capital markets authority (AMMC), debt service takes 36% of income on average across the 639,013 loan files of individuals who took out or renewed a loan in 2025. Civil servants have the highest average, and 38% of borrowers are above 40%.

Borrower category (2025)Average debt-to-income ratio
Civil servants44%
Retirees36%
Private-sector employees34%
Self-employed professionals32%
All individuals36%

3. Costs: early repayment, release of security and the new loan

The cost of a buyback is not just the rate of the new loan. Here is what the texts say for each item.

ItemWhat the texts sayReference
Early repayment of a consumer loanNo penalty, in full or in part. Any clause to the contrary is void.Law 31-08, article 103
Hire purchase, lease with purchase optionThe article 103 rule only applies if the contract provides for ownership to pass to the lessee in the end.Law 31-08, article 103
Early repayment of a mortgageA penalty is possible if the contract provides for it: one month of interest at the loan rate, capped at 2% of the outstanding capital.Law 31-08, article 132; joint order no. 4035-14 (Official Bulletin no. 6400 of 1 October 2015)
Partial repayment of a mortgageThe contract may forbid repayments equal to or below 10% of the original amount, unless it is the balance.Law 31-08, article 132
Other early repayment costs (mortgage)No other penalty or cost may be charged to the borrower.Law 31-08, article 134
Release of security (mainlevée)Handed over within 30 working days of full repayment at the latest; fees listed in the lender's schedule of charges.Bank Al-Maghrib, directive no. 4/W/2019
New loanArrangement fees, insurance and, for a mortgage, deeds and registration of the new charge.Lender's pre-contract offer and schedule of charges

Source: Wafir.ma — November 30, 2026

Mortgage example: to repay in full MAD 300,000 borrowed at 4.5%, one month of interest is 300,000 × 4.5% ÷ 12 = MAD 1,125. The 2% cap on outstanding capital is MAD 6,000. The penalty therefore cannot exceed MAD 1,125, and it is only due if the contract provides for it.

For a mortgage charge, Bank Al-Maghrib describes a two-step release: the bank makes the release available after repayment and payment of fees, then a professional authorised to draw up authentic deeds files it with the land registry (conservation foncière) to cancel the charge. These formalities may involve fees.

Good to know

If a lender asks you for a penalty to repay a consumer loan early, ask in writing which text it relies on. Article 103 of law 31-08 treats any clause to the contrary as void.

4. Total cost: worked example and calculation method

A buyback is judged on two figures: the monthly payment and the total amount still to pay. The rates in this example are chosen for illustration and are not offers.

ScenarioMonthly paymentShare of salary (MAD 8,000)Total still to payOf which interest
Current situation (A + B)MAD 3,209.44 for 24 months, then MAD 1,852.6340.1%MAD 99,258.18MAD 9,258.18
Buyback over 60 months at 7%MAD 1,782.1122.3%MAD 106,926.47MAD 16,926.47
Buyback over 84 months at 7%MAD 1,358.3417.0%MAD 114,100.66MAD 24,100.66

Source: Wafir.ma — November 30, 2026

Method: the monthly payment of a fixed-rate loan is M = C × t ÷ (1 − (1 + t)^−n), where C is the capital, t the annual rate divided by 12 and n the number of months. The total still to pay is M × n, and the interest is M × n − C. Arrangement fees and insurance come on top.

Situation: a civil servant earns MAD 8,000 net a month and repays two consumer loans. Loan A has MAD 60,000 outstanding at 7% over 36 months (MAD 1,852.63 a month). Loan B has MAD 30,000 outstanding at 8% over 24 months (MAD 1,356.82 a month). He is considering a MAD 90,000 buyback at 7%. These are consumer loans, so no early repayment penalty is due.

Reading the result

  • Over 60 months, the monthly payment falls by MAD 1,427.33, but the buyback costs MAD 7,668.29 more than the current situation, before fees.
  • Over 84 months, the monthly payment falls by MAD 1,851.10 and the extra cost reaches MAD 14,842.48, before fees.
  • A buyback eases the monthly budget at the price of a higher total cost. It makes most sense when current instalments are no longer manageable, or when the new rate is clearly lower than the rate of the loans bought back.

Benchmarks published by Bank Al-Maghrib

According to Bank Al-Maghrib's survey published on 5 November 2026, the average consumer loan rate was 6.68% in the third quarter of 2026. The maximum conventional interest rate (usury cap) is 13.21% from April 2026 to March 2027: no loan may exceed it.

Run the numbers with your own figures in the loan buyback simulator, then check your borrowing capacity.

5. Documents to prepare and legal deadlines

Prepare your file before asking for offers: you will be able to compare them faster and on the same basis.

  • Electronic national identity card (CNIE).
  • Recent payslips and a salary certificate issued by your administration.
  • Statements of the account your salary is paid into.
  • For each loan to be bought back: the contract, the repayment schedule and an early repayment statement at a given date, issued by the lender.
  • For a mortgage: the title deed or a land registry ownership certificate, and the mortgage loan deed.
  • The list of deductions already taken from your salary, if any.

For a consumer loan, the written pre-contract offer binds the lender for at least seven days (article 77 of law 31-08). Once you accept it, you have seven days to withdraw using the tear-off form attached to the offer (article 85).

For a mortgage, the lender keeps its offer open for at least fifteen days, and you can only accept it ten days after receiving it (article 120).

Compare like with like

Ask each lender for an offer with the same amount and the same term. Compare the annual percentage rate and the itemised total cost, which the offer must state together with the arrangement fees (article 78 of law 31-08).

6. Traps to avoid

  • Extending the term without measuring the cost: in the example above, moving from 60 to 84 months lowers the payment by MAD 423.77 but adds MAD 7,174.19 of interest.
  • Buying back a loan that is nearly paid off: its last instalments contain little interest, and spreading it over several years raises the total.
  • Forgetting fees: arrangement fees, insurance, release fees and, for a mortgage, deeds and registration of the new charge.
  • Leaving a paid-off revolving credit open: ask in writing for it to be closed so that it can no longer be used.
  • Borrowing again right after the buyback: the freed-up monthly amount is quickly spent and debt starts rising again.
  • Paying to 'unlock' an application: for a mortgage, no payment may be made to the lender before the offer is accepted (article 121). Be wary of any request for money before signing.
  • Assuming approval is guaranteed: every lender assesses the file and may refuse.

7. Disputes: complaint, banking mediation, Bank Al-Maghrib

Bank Al-Maghrib sets out three remedies, to be used in this order: the lender, the Moroccan Banking Mediation Centre (Centre marocain de médiation bancaire, CMMB), then Bank Al-Maghrib.

1. Written complaint to the lender

  • File a written complaint at the branch or with the central complaints department against an acknowledgement of receipt, or through the lender's digital channels.
  • The lender has 10 working days to rule on admissibility and 40 working days to reply (Bank Al-Maghrib circular no. 10/W/2016).
  • Attach the contract, statements and the disputed figure.

2. Moroccan Banking Mediation Centre

Set up in March 2014 at Bank Al-Maghrib's initiative, the CMMB looks for an amicable solution. It steps in after a complaint to the lender, if you get no reply or are not satisfied. Mediation is free for disputes under MAD 1 million, and up to MAD 100,000 its decisions are binding on lenders.

How to apply: on the cmmb.ma website, by email to [email protected], by post or by hand at its head office, corner of avenue Hassan II and rue Ahmed Touki, 20080 Casablanca. The CMMB has 8 working days to rule on admissibility and 30 working days to give an opinion; you then have 10 days to accept or reject the solution. It does not act if the case is before a court, and debt collection matters are excluded.

3. Bank Al-Maghrib, as a last resort

After these two steps, file a complaint on Bank Al-Maghrib's portal, by post to the Banking Supervision Department or at a Bank Al-Maghrib branch, with supporting documents. Our guide on banking mediation and over-indebtedness details these steps.

Examples of disputes to raise

A penalty claimed for repaying a consumer loan early, a mortgage penalty above one month of interest or 2% of the outstanding capital, or a release of security handed over after more than 30 working days.

8. Frequently asked questions

Q.Can a civil servant consolidate loans in Morocco?
Yes. A buyback is open to any borrower, including civilian and military civil servants. The lender assesses the file (income, running loans, salary deductions) and remains free to accept or refuse. Only the written offer binds you.
Q.Is there a fee for repaying a consumer loan early?
No. Article 103 of law 31-08 allows early repayment, in full or in part, without any penalty, and any clause to the contrary is void. The exception concerns lease contracts that do not provide for ownership to pass to the lessee.
Q.How much does it cost to repay a mortgage early?
If the contract provides for it, the lender may charge one month of interest at the loan rate, capped at 2% of the outstanding capital (article 132 of law 31-08 and joint order no. 4035-14). No other early repayment cost can be added.
Q.Does Bank Al-Maghrib set a maximum debt-to-income ratio?
We found no text setting a common cap for all lenders. Bank Al-Maghrib tracks the share of borrowers whose debt service exceeds 40% of income: 38% in 2025. Each lender applies its own limit.
Q.Does a buyback lower the total cost of credit?
Not necessarily. When the term gets longer, total interest rises. In our example, MAD 90,000 bought back at 7% over 84 months costs MAD 14,842.48 more than the two original loans, before fees.
Q.Does the salary deduction continue after retirement?
The agreement signed in December 2010 between the TGR and the Moroccan Pension Fund (CMR) keeps deductions running from active service into retirement for the civil servants concerned. Check with the lender that your contract provides for it.
Q.What if the bank does not hand over the release of security?
It must do so within 30 working days of full repayment and payment of the fees (Bank Al-Maghrib directive no. 4/W/2019). Otherwise, file a written complaint, then refer the matter free of charge to the Moroccan Banking Mediation Centre.

Look into a loan buyback

Tell us about your running loans and your situation: Wafir.ma helps you compare buyback options, free of charge and with no commitment. Assessing the file and deciding remain the lender's call.

Simulate my loan consolidation

Related guides