Readme file for the code package associated to the paper "When Fiscal Consolidation Meets Private Deleveraging" Javier Andrés, Óscar Arce, Dominik Thaler and Carlos Thomas submitted to the Review of Economic Dynamics. The code package contains the following files: MainCode.m: This is the main file. Run this code to reproduce the results in the paper. Calibration.m: This file contains the parameter values. CalibrationSolver_H.m: Auxiliary file used to calibrate parameter values to steady state targets. findSSH.m: Auxiliary file used find the steady state numerically. Model.mod: This is the mod file which contains the model written for Dynare. This file is called by MainCode.m. setup.m: Auxiliary file for initialization (content irrelevant). To reproduce the figures and tables in the paper, run MainCode.m in matlab with Dynare. Runtime: several minutes. Software versions used: Matlab 2019a with Dynare 4.5.7. Operating system used: Windows 10. The robustness checks are disabled in the attached code. Comment line 212 in MainCode to also run the robustness checks (runtime: several hours).