Skip to main content
Didit Age Estimation predicts a person’s age from a selfie, with passive liveness included, so you can gate age-restricted services without asking every user for an ID document. The model is most precise where age gating decides: its mean absolute error is 1.1 years for 16 and 17-year-olds and 1.9 years for 18 to 20-year-olds, and it correctly classifies 96% of selfies as under 18 or 18 and over (see Model performance).

Age Estimation Methods

Our platform implements age estimation in conjunction with different liveness verification technologies:
MethodDescriptionSecurity LevelBest For
3D Action & Flash• Combines multi-factor biometric verification with a randomized action sequence and dynamic light pattern analysis.
• At the start, the user is prompted to perform a simple action—like blinking or nodding—ensuring real-time interaction.
• Simultaneously, the system projects a sequence of light patterns onto the face, analyzing the reflections to confirm the face’s three-dimensional structure.
• Deep learning algorithms examine micro-expressions and the light reflection responses to verify the presence of a live person.
• Offers the highest security by integrating behavioral (action) and physical (light-based depth) cues, making it nearly impossible to spoof with static images, videos, or even advanced masks.
HighestBanking, healthcare, government applications
3D Flash• Uses dynamic light pattern analysis to validate facial topology without requiring user interaction.
• Projects a series of light patterns onto the face at over 30 frames per second, analyzing the reflections to create a depth map.
• This depth map confirms the face’s three-dimensional structure, distinguishing it from flat images or 2D spoofs.
• Provides a seamless experience while maintaining high security against presentation attacks like photos or screens.
HighFinancial services, account access, identity verification
Passive Liveness• Relies on single-frame deep learning analysis to detect signs of liveness.
• For privacy, the user’s face appears blurry in the interface, assuring them that their image is being analyzed for age estimation only, not for identification.
• Examines the image for artifacts, texture patterns, and other subtle indicators that differentiate a real face from a spoof.
• A convolutional neural network (CNN) validates facial features and identifies anomalies, such as those from printed photos or digital screens.
• Offers fast and convenient verification but provides standard security, suitable for low-risk use cases.
StandardLow-friction scenarios, consumer applications
Each method generates a precise age estimate along with confidence scores and supplementary gender estimation data.

Configurable Thresholds

You can customize security levels by setting different thresholds for age estimation. For example:
Didit age estimation threshold configuration for age gating policies
These thresholds can be adjusted based on your risk tolerance and security requirements.

Per-Country Age Restrictions

Age restrictions can be configured on a per-country basis, reflecting the fact that the legal age of majority varies across jurisdictions. Instead of setting a single global minimum or maximum age, you can define specific age limits for each country — and even for individual states or regions within a country.

How It Works

  • Country-level configuration: Set a minimum and/or maximum age for each country (identified by the document’s issuing state). For example, you might require a minimum age of 18 in the United States, 19 in South Korea, and 21 in the United Arab Emirates.
  • State/Region overrides: For countries with sub-national variation (such as the United States or Mexico), you can configure overrides per state. For example, Mississippi may require a minimum age of 21 while the US default is 18. The system matches the state using the region extracted from the document by OCR.
  • Age of majority defaults: The console provides a one-click “Apply age of majority” button that auto-populates each country’s minimum age based on the known legal age of majority worldwide. You can then customize individual countries or states as needed.
  • Configurable actions: When a user’s age falls below the minimum or exceeds the maximum for their document’s country, you can choose the action to take: Decline or Review.

Example Configuration

Per-country age restrictions are available in both standard KYC workflows and Adaptive Age Verification workflows. In adaptive workflows, when ID verification is triggered for borderline cases, the age check uses the per-country settings configured in the ID Verification step.

How It Works

Image or Video Capture

The user provides a clear facial image through API upload or completes a liveness verification process.

Facial Feature Analysis

A detector locates every face and every person in the image, and the largest face is analyzed.
  • Face crop: the face exactly as detected, analyzed for facial morphology, proportions, and skin texture
  • Body context: the rest of the image, with the face masked out, refines the estimate
  • Several faces in one image are detected and reported, so the session can be handled accordingly

Neural Network Processing

Two complementary deep neural networks estimate the age independently, and the final estimate is their average.
  • A transformer reads the face and body crops together; a convolutional network reads the face
  • Each network runs five models trained on different splits of the data and averages their estimates, which steadies the result
  • Trained with ages confirmed by identity documents, with teenagers, young adults, and every skin tone group well represented
  • Evaluated only on selfies, and people, the models never saw during training

Decision & Supplementary Analysis

The system generates a comprehensive result:

Rule Application

Your configured business rules are applied to the estimation results.
  • Age estimate compared against your configured thresholds (min/max per country)
  • Confidence scores checked against your minimum requirements
  • Borderline cases can trigger ID verification fallback (Adaptive mode)
  • Results documented with detailed audit trail for compliance

Adaptive Age Estimation

For scenarios where precise age verification is critical, our platform offers adaptive age estimation with ID verification fallback. This approach provides a balance between user convenience and regulatory compliance.

How Adaptive Age Estimation Works

Initial Age Estimation

The system first attempts to estimate the user’s age using facial analysis. A confidence score is generated alongside the age estimate.

Threshold Evaluation

The estimated age is compared against your configured thresholds. Three outcomes:

Intelligent Fallback

  • Clear pass/fail: Verification completes immediately with the appropriate result
  • Borderline cases: System automatically initiates an ID verification flow
  • This ensures regulatory compliance while minimizing friction for most users

Document Verification (when needed)

For borderline cases, the user provides a government-issued ID document:
  • Document authenticity and age information are verified
  • Per-country age restrictions from the ID Verification step are applied
  • The system checks date of birth against the minimum/maximum age for the document’s issuing country and region
  • The document portrait is face matched 1:1 against the selfie already captured for age estimation, so the date of birth on the document is bound to the person in front of the camera

What the fallback returns

The fallback face match runs without a Face Match node in the workflow, so it shows up in the session decision in a way that is easy to mistake for a check you never configured:
  • features lists FACE_MATCH in addition to AGE_ESTIMATION and ID_VERIFICATION once the fallback has run.
  • face_matches[] carries one entry with the score, the source_image (document portrait) and the target_image (age estimation selfie). Its node_id is the age estimation node (feature_age_estimation on a native workflow) because the match belongs to that step, not to a Face Match step.
  • A low score raises the usual face match warnings and can send the session to review or decline, exactly like a configured Face Match node would.
  • It is not billed as a Face Match: the session is charged for the age estimation and for the ID verification only.
Sessions that pass or fail on the selfie alone never run the fallback, so they return face_matches: null. To keep the images out of the decision payload, limit the face_matches fields with the workflow’s response attributes.
Adaptive age estimation can be configured using Adaptive Age Verification workflows type. You can define the borderline age thresholds that determine when ID verification is triggered. The final age-based approval or decline for borderline cases is then governed by the per-country age restrictions configured in the ID Verification step.

Benefits of Adaptive Age Estimation

  • Reduced Friction: Most users complete verification with just a selfie
  • Enhanced Compliance: Uncertain cases receive thorough document verification with country-specific age rules
  • Cost Efficiency: ID verification is only used when necessary
  • Customizable Risk Tolerance: Adjust thresholds based on your regulatory requirements
  • Jurisdiction-Aware: Automatically applies the correct age of majority based on the user’s document issuing country and region
This approach is particularly valuable for age-gated services like online gaming, alcohol delivery, and adult content platforms where balancing user experience with regulatory compliance is essential.

Age assurance (ISO/IEC 27566-1)

A workflow can declare that it follows the ISO/IEC 27566-1 age assurance standard. Create it from the console templates Age Estimation (ISO/IEC 27566-1) or Age Verification (ISO/IEC 27566-1). The declaration is made when the workflow is created and cannot be changed afterwards. While a workflow declares the standard, Didit pins it to a one-shot yes or no answer about age. The pinned settings apply to every save, in the console and through the API:
  • You receive the age decision and nothing else. The response attributes are locked, so the decision carries no personal data.
  • 13 is the lowest minimum age in every country, in every regional override and in the adaptive age estimation thresholds. A lower value is rejected.
  • No recognition across sessions. Duplicate document and duplicate face checks are off, and no biometric template is stored.
  • Limited capture. Documents are captured with the camera only, with no file upload, no silent selfie capture while the document is photographed and no audio recording.
  • No extra data checks. The expected details comparison and the data review step are off, and ID verification reads documents only, with no database lookups or digital ID wallets.
  • A threshold is required. A workflow without an age threshold is rejected on save, so it can never approve everyone by default.

Model Performance and Statistics

The figures below describe the age model in production since 4 November 2026. They come from its locked evaluation set: 2,399 selfies of people aged 13 and over, set aside before training, with each person’s age taken from their verified identity document. No model was trained on these selfies, or on these people. The overall figures are for an evaluation mix of 10% under-18s, with adults in the age distribution of live traffic; each age range is reported on its own below.

Accuracy Metrics

MetricValueDescription
Mean Absolute Error (MAE)2.6 yearsAverage difference between estimated and document age
Standard Deviation2.3 yearsHow much the error varies from one estimate to another
Correct at an 18 threshold96.0%Selfies correctly classified as under 18 or 18 and over, with no fallback band; at least 95.3% with 95% confidence

Performance Across Age Ranges

The error is smallest around the ages where age gating decides, and grows with age.
Age rangeMAE (years)Standard deviation (years)
13-151.701.17
16-171.141.37
18-201.861.74
21-252.211.78
26-402.772.20
41-603.032.62
Over 604.333.64
The standard deviation describes how much the error of individual estimates varies, not the uncertainty of the average. An estimate within a year or two of your minimum age can fall on either side of it: when a wrong decision near the threshold matters, send that borderline band to the adaptive ID verification fallback.
Last modified on November 5, 2026