Synthetic Bank Loan Repayment Patterns

This dataset provides detailed, anonymized records of bank loan origination, repayment, default, and prepayment patterns, enriched with borrower demographic and employment information. It is ideal for developing and validating credit scoring models, analyzing risk factors, and exploring repayment behaviors across diverse borrower segments. The data structure supports advanced analytics and machine learning applications in financial risk management.

  • last updated 22 Jul 2025
  • by GoMask
The brief that made it

Credit risk modeling and scorecard development

Sample rows

preview · 8 of 200 rows · all 30 columns
loan_idstringborrower_employment_statusstringinterest_ratefloatdefault_flagbooleanloan_purposestringborrower_idstringorigination_datedateloan_amountfloatloan_term_monthsintegerrepayment_statusstringrepayment_completion_datedatetotal_paid_principalfloattotal_paid_interestfloatremaining_principalfloatnum_payments_madeintegernum_payments_lateintegernum_payments_missedintegerprepayment_flagbooleanborrower_ageintegerborrower_genderstringborrower_marital_statusstringborrower_education_levelstringborrower_annual_incomefloatborrower_employer_namestringborrower_years_at_employerfloatborrower_residence_citystringborrower_residence_statestringborrower_residence_postal_codestringborrower_residence_countrystringcredit_score_at_originationinteger
LN00001employed_full_time7.25falsedebt_consolidationB10012016-03-11950036currentblank3400681.561001210false29femalesinglebachelor59000NexGen Solutions2.5ChicagoIL60614US728
LN00002employed_part_time16.99falsevacationB10022019-07-23200012paid_off2020-08-012000317.801200false22malesingleassociate9500Bistro Place0.7AustinTX78704US662
LN00003employed_full_time5.99falseautoB10032017-12-023500060currentblank184203821.65165802810false34femalemarriedbachelor71000BrightPath Inc6.1SeattleWA98115US742
LN00004unemployed11.5truemedicalB10042021-01-181200024defaulted2022-10-1125009620424false41maledivorcedhigh_school0blankblankClevelandOH44109US512
LN00005self_employed3.8falsehome_improvementB10052018-11-09340000360currentblank38000145203020002600false48malemarriedmaster176000Greenline Realty12.7San DiegoCA92103US792
LN00006student20.99falseeducationB10062015-05-227006paid_off2015-11-30700780600false19othersinglehigh_school0blankblankColumbusOH43210US626
LN00007self_employed4.25falsebusinessB10072018-04-2010500084currentblank335009540715003400false58femalewidowedbachelor260000Zeno Consulting18.2DallasTX75201US803
LN00008employed_full_time9.89falsedebt_consolidationB10082022-08-16540018currentblank16502393750500false31femalemarriedbachelor44000Urban Core Media1.5DenverCO80203US695

What the 200 rows show

from the 200-row sample

Unemployed (borrower employment status) stands out: 14 of its 16 rows have default_flag = true, against 13 of 183 for the rest.

  • 14%default_flag = true
  • 8.4median interest_rate
  • 4repayment statuses
  • 4borrower genders
  • 5borrower marital statuses
  • 6borrower education levels
Default flag rate by borrower_employment_statusdefault_flag = true
0%50%100%0%empl…0 of …0%empl…0 of …4%self…2 of …88%unem…14 of…9%reti…3 of …25%stud…6 of …67%other2 of 3
interest_rate199 rows, in bands of 10
06513012163121100001050100interest_rate →

Median 8.4, from 0.0 to 100.0.

loan_purpose199 rows with a value · 1 left blank
  1. auto36
  2. home_improvement35
  3. medical29
  4. debt_consolidation24
  5. vacation24
  6. business24
  7. other14
  8. education13
30 columns by typefrom the column list below
  • string 13
  • integer 6
  • float 7
  • date 2
  • boolean 2

Columns

30 columns in four groups
blueprint · 30 columns
columntypedescriptionexample
Text 13 columns
loan_idstringUnique identifier for each loan record.uniqueLN00001
borrower_idstringUnique identifier for each borrower.B1001
loan_purposestringPurpose of the loan (e.g., debt_consolidation, home_improvement, auto, education, other).8 valuesdebt_consolidation
repayment_statusstringCurrent status of the loan repayment (e.g., current, paid_off, defaulted, prepaid).current · paid_off · defaulted · prepaidcurrent
borrower_genderstringGender of the borrower.male · female · other · prefer_not_to_say · optionalfemale
borrower_marital_statusstringMarital status of the borrower.single · married · divorced · widowed · other · optionalsingle
borrower_education_levelstringHighest education level attained by the borrower.6 values · optionalbachelor
borrower_employment_statusstringCurrent employment status of the borrower.7 valuesemployed_full_time
borrower_employer_namestringName of the borrower's employer (anonymized or masked).optionalNexGen Solutions
borrower_residence_citystringCity of the borrower's residence at loan origination.optionalChicago
borrower_residence_statestringState or province of the borrower's residence at loan origination.optionalIL
borrower_residence_postal_codestringPostal code of the borrower's residence at loan origination.optional60614
borrower_residence_countrystringCountry of the borrower's residence at loan origination.optionalUS
Numbers 13 columns
loan_amountfloatOriginal principal amount of the loan.0 or more9500
loan_term_monthsintegerNumber of months for the loan term.1 or more36
interest_ratefloatAnnual interest rate applied to the loan (as a percentage, e.g., 5.5 for 5.5%).0 to 1007.25
total_paid_principalfloatTotal principal amount paid by the borrower up to the current date.0 or more3400
total_paid_interestfloatTotal interest amount paid by the borrower up to the current date.0 or more681.5
remaining_principalfloatOutstanding principal amount remaining on the loan.0 or more6100
num_payments_madeintegerNumber of scheduled payments made by the borrower.0 or more12
num_payments_lateintegerNumber of payments made after the due date.0 or more1
num_payments_missedintegerNumber of scheduled payments missed entirely.0 or more0
borrower_ageintegerAge of the borrower at the time of loan origination.18 to 10029
borrower_annual_incomefloatAnnual income of the borrower at the time of loan origination.0 or more59000
borrower_years_at_employerfloatNumber of years the borrower has been at their current employer.0 or more · optional2.5
credit_score_at_originationintegerBorrower's credit score at the time of loan origination.300 to 900728
Dates and times 2 columns
origination_datedateDate when the loan was originated.2016-03-11
repayment_completion_datedateDate when the loan was fully repaid, prepaid, or defaulted. Null if still active.optional2020-08-01
True or false 2 columns
default_flagbooleanIndicates whether the loan has defaulted (true) or not (false).false
prepayment_flagbooleanIndicates whether the loan was prepaid (true) or not (false).false

Use it for

  • default flag14%27 of 199 rowsmean interest rate by…8.2empl…15.3empl…5.9self…22.3unem…

    A finance dashboard

    The default_flag rate, interest_rate by borrower_employment_status and a breakdown of loan_purpose. Excel, Power BI or Tableau.

  • Why do 27 of 199 rows have default_flag = true?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable loans with borrower_id, origination_date and loan_amount to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 30 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset200 rows30 columns
Yours1,000 rows30 columnsborrower_residence_city: UK only

blueprint · synthetic-bank-loan-repayment-patterns

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 30 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Loans span 12-120 months
  • Default and prepayment events represented
  • Borrower credit scores range 300-850
  • Each loan has a unique identifier
Rows
Open the blueprint in Data Factory

1 credit per row. New accounts start with 25 free credits.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
synthetic-bank-loan-repayment-patterns

What should your data show?

Preview 20 rows free
No signup. No card.