[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Endocrinology](https://durgical.com/en/endocrinology/) › [Diabetes](https://durgical.com/en/endocrinology/areas/diabetes/) › Diabetes from the pancreas, hormones and drugs

# Diabetes from the pancreas, hormones and drugs

- Diagnostic approach

Some diabetes is a symptom of another problem: a damaged [pancreas](https://durgical.com/en/anatomy/pancreas/), a hormone-making tumour or a medicine. Find the cause and the diabetes may improve.

Updated Nov 16, 2026

**See it in 3D:** [Pancreas](https://durgical.com/en/anatomy/pancreas/)

## Key points

- Type 3c: pancreatitis, surgery, cancer, CF, [haemochromatosis](https://durgical.com/en/conditions/hereditary-hemochromatosis/); [glucagon](https://durgical.com/en/pharmacology/glucagon/) lost → brittle with lows.
- New diabetes after 50 + weight loss → image the pancreas.
- Steroids: afternoon and evening highs; check before lunch and dinner.
- Checkpoint inhibitors: sudden insulin-deficient diabetes, often DKA.
- Cushing, acromegaly, [phaeochromocytoma](https://durgical.com/en/conditions/phaeochromocytoma/): diabetes improves after cure.

On this page

- The basics Key points
- What it is
- How to think about it
- What to know
- Step-by-step approach
- Secondary diabetes: clue, mechanism and first test
- Common traps
- Elsewhere in DurgiPedia

- Clinical Keys to the differential

- Treatment Next step / Initial management

- Study Test yourself

- Connections Connections

## What it is

Secondary diabetes arises from a known cause rather than from autoimmunity or the usual insulin resistance. Pancreatogenic (type 3c) diabetes follows loss of pancreatic tissue: [chronic pancreatitis](https://durgical.com/en/conditions/chronic-pancreatitis/), pancreatectomy, [pancreatic cancer](https://durgical.com/en/conditions/pancreatic-cancer/), [cystic fibrosis](https://durgical.com/en/conditions/cystic-fibrosis/) and haemochromatosis; because glucagon-producing cells are lost too, [glucose](https://durgical.com/en/biochemistry/molecules/glucose/) swings and [hypoglycaemia](https://durgical.com/en/conditions/hypoglycaemia/) are common, and exocrine insufficiency usually coexists. Endocrine diseases raise glucose by excess counter-regulatory hormones: [Cushing syndrome](https://durgical.com/en/conditions/cushing-syndrome/) ([cortisol](https://durgical.com/en/biochemistry/molecules/cortisol/)), acromegaly ([growth hormone](https://durgical.com/en/pharmacology/classes/growth-hormone/)), phaeochromocytoma (catecholamines), glucagonoma and hyperthyroidism. Drugs cause it by insulin resistance or reduced insulin secretion: [glucocorticoids](https://durgical.com/en/physiology/actions-of-cortisol/), [second-generation antipsychotics](https://durgical.com/en/pharmacology/classes/second-generation-antipsychotics/) (most with [clozapine](https://durgical.com/en/pharmacology/clozapine/) and [olanzapine](https://durgical.com/en/pharmacology/olanzapine/)), [calcineurin inhibitors](https://durgical.com/en/pharmacology/classes/calcineurin-inhibitors/) and glucocorticoids after transplantation, thiazides, some HIV drugs, and [immune checkpoint inhibitors](https://durgical.com/en/pharmacology/classes/immune-checkpoint-inhibitors/), which can trigger sudden autoimmune insulin-deficient diabetes, often in ketoacidosis.

## How to think about it

Ask what removed the factory or who is fighting it. «Factory lost» (pancreas destroyed): insulin and glucagon both fall, so glucose is unstable and treatment is insulin. «Factory attacked» (checkpoint inhibitors): a sudden type 1-like picture. «Factory outvoted» (cortisol, growth hormone, catecholamines, drugs): insulin is made, but hormones pushing glucose up win; remove the cause and the diabetes often fades.

## What to know

- Clues to type 3c: history of pancreatitis, alcohol, steatorrhoea, weight loss, pancreatic calcification, low faecal elastase, unstable glucose with hypoglycaemia.
- New diabetes after age 50 with weight loss and no family history can be the first sign of pancreatic cancer: image the pancreas.
- Cystic fibrosis–related diabetes: screened yearly with an oral glucose tolerance test from age 10; [HbA1c](https://durgical.com/en/biochemistry/topics/glycated-haemoglobin/) underestimates it; insulin is the treatment.
- Haemochromatosis: raised [transferrin](https://durgical.com/en/biochemistry/topics/iron/) saturation and ferritin, diabetes with [liver](https://durgical.com/en/anatomy/liver/) disease, bronze skin, arthropathy, [heart failure](https://durgical.com/en/conditions/heart-failure/), [hypogonadism](https://durgical.com/en/endocrinology/low-sex-hormones-primary-or-central-hypogonadism/).
- Glucocorticoids raise glucose mainly in the afternoon and evening after a morning dose, so fasting glucose can be normal; check before lunch and dinner.
- Second-generation antipsychotics: check weight, glucose and lipids before starting, at about 12 weeks and yearly; clozapine and olanzapine carry the highest risk.
- Immune checkpoint inhibitors (anti-PD-1, anti-PD-L1): abrupt onset, very low C-peptide, often ketoacidosis at presentation, usually permanent and needing insulin.
- Post-transplant diabetes: [tacrolimus](https://durgical.com/en/pharmacology/tacrolimus/) and glucocorticoids; diagnosed once the patient is stable on maintenance immunosuppression, with oral glucose tolerance testing preferred.
- Cushing syndrome, acromegaly and phaeochromocytoma: diabetes often improves or resolves after the tumour is cured.
- Glucagonoma: diabetes with weight loss and a migratory necrolytic rash.

## Step-by-step approach

- Suspect a secondary cause: atypical age or weight, unstable glucose, new drugs, features of another endocrine or pancreatic disease.
- Review every medicine: glucocorticoids, antipsychotics, calcineurin inhibitors, thiazides, HIV drugs, checkpoint inhibitors.
- Look for pancreatic disease: pancreatitis history, steatorrhoea, faecal elastase, pancreatic imaging (urgent if new diabetes with weight loss after 50).
- Screen iron overload with transferrin saturation and ferritin when liver disease or skin, joint or heart features coexist.
- Look for hormonal excess when the clinical picture suggests it: Cushing, acromegaly, phaeochromocytoma tests.
- On a checkpoint inhibitor with high glucose: check ketones, pH and C-peptide at once.
- Treat the cause where possible and choose glucose treatment by mechanism: insulin when insulin is lacking.

## Secondary diabetes: clue, mechanism and first test

| Cause | Clue | Mechanism | First test | Usual treatment |
| --- | --- | --- | --- | --- |
| Chronic pancreatitis or pancreatectomy (type 3c) | Steatorrhoea, alcohol, calcification | Loss of islets including glucagon cells | Faecal elastase, pancreatic CT | Insulin, [pancreatic enzymes](https://durgical.com/en/pharmacology/pancrelipase/) |
| Pancreatic cancer | New diabetes after 50 with weight loss | Tumour-related beta-cell failure | Pancreatic CT | Treat tumour; insulin often |
| Cystic fibrosis | Child or young adult with CF | Islet loss and insulin deficiency | Yearly glucose tolerance test | Insulin |
| Haemochromatosis | Liver disease, bronze skin, arthropathy | Iron damage to islets | Transferrin saturation, ferritin | Venesection; glucose treatment |
| Glucocorticoids | Afternoon and evening highs | Insulin resistance, liver glucose output | Pre-lunch and pre-dinner glucose | Insulin timed to the steroid |
| Immune checkpoint inhibitors | Sudden onset, ketoacidosis | Autoimmune beta-cell destruction | Ketones, pH, C-peptide | Insulin, usually lifelong |

## Keys to the differential

- Pancreatogenic diabetes on insulin causes more severe hypoglycaemia than type 2 because glucagon, the main defence, is also lost.
- Steroid hyperglycaemia is often missed by fasting tests: a patient with normal morning glucose can reach very high values by evening.
- In a patient on antipsychotics, weight gain and diabetes are treated without abandoning the psychiatric treatment; switching drugs is agreed with psychiatry.
- Checkpoint inhibitor diabetes can appear months after starting treatment and does not respond to oral drugs.

## Next step / Initial management

- [Medication review](https://durgical.com/en/family-medicine/polypharmacy-and-deprescribing-in-primary-care/) and targeted tests by clue: faecal elastase and pancreatic imaging, transferrin saturation and ferritin, hormonal screening tests.
- New diabetes after 50 with weight loss: pancreatic CT without delay.
- Glucocorticoids: check glucose before lunch and dinner; use insulin matched to the steroid when needed and reduce it as the steroid is tapered.
- Checkpoint inhibitor with hyperglycaemia: ketones, blood gas and C-peptide the same day; start insulin.
- Refer to endocrinology every suspected secondary diabetes with a hormonal cause, pancreatogenic diabetes on insulin, and checkpoint inhibitor diabetes urgently.

## Common traps

- **Every adult with new diabetes has type 2**: pancreatic disease, tumours and drugs cause diabetes that needs a different treatment and sometimes a cancer search.
- **A normal fasting glucose excludes steroid diabetes**: a morning glucocorticoid raises glucose mainly in the afternoon and evening, so fasting values can stay normal.
- **Pancreatogenic diabetes behaves like type 2**: glucagon is also lost, so hypoglycaemia is more frequent and severe on insulin.
- **Checkpoint inhibitor diabetes can be managed with oral drugs**: the beta cells are destroyed, so insulin is needed and ketoacidosis is common at onset.
- **HbA1c is the right screen in cystic fibrosis**: it underestimates glucose there, so a yearly oral glucose tolerance test is used.

## Test yourself

Think of the answer, then tap the question to see it.

## A 67-year-old with no family history develops diabetes with weight loss and new back pain. What must you exclude, and how?

Pancreatic cancer: new diabetes after 50 with weight loss can be its first sign. Arrange pancreatic CT promptly.

## A patient on prednisone taken in the morning has normal fasting glucose but feels thirsty in the evenings. Which glucose tests do you order?

Glucose before lunch and before dinner: morning glucocorticoids raise glucose mainly in the afternoon and evening, which fasting tests miss.

## A man on an anti-PD-1 drug for melanoma has vomiting, glucose of 480 mg/dL and a low pH. What is the likely cause and treatment?

Checkpoint inhibitor–induced autoimmune diabetes presenting in ketoacidosis: treat the DKA and start insulin, which is usually lifelong.

## Why is hypoglycaemia more dangerous in diabetes after total pancreatectomy?

The alpha cells that make glucagon are removed too, so the body loses its main defence against a falling glucose.

[Add to my cards (4)](https://durgical.app/estudiar/?add=/en/endocrinology/diabetes-from-the-pancreas-hormones-and-drugs/)

## Elsewhere in DurgiPedia

- [Chronic pancreatitis: fibrosis, ductal stones and lost acini](https://durgical.com/en/general-pathology/chronic-pancreatitis-fibrosis-ductal-stones-and-lost-acini/)
- [Diabetes mellitus: diagnosis and classification](https://durgical.com/en/general-pathology/diabetes-mellitus-diagnosis-and-classification/)
- [Physiology of diabetes and ketoacidosis](https://durgical.com/en/physiology/physiology-of-diabetes-and-ketoacidosis/)

## Connections

## See it in 3D 1

The structures of Durgical's 3D anatomy where it is found.

- [Pancreas](https://durgical.com/en/anatomy/pancreas/)

## Related 5

- [Diagnosing diabetes and telling the types apart](https://durgical.com/en/endocrinology/diagnosing-diabetes-and-telling-the-types-apart/)
- [Cushing syndrome: confirm first, then locate](https://durgical.com/en/endocrinology/cushing-syndrome-confirm-first-then-locate/)
- [Acromegaly: IGF-1, the glucose load and the face that changed](https://durgical.com/en/endocrinology/acromegaly-igf-1-the-glucose-load-and-the-face-that-changed/)
- [Phaeochromocytoma: metanephrines, imaging and preparation for surgery](https://durgical.com/en/endocrinology/phaeochromocytoma-metanephrines-imaging-and-preparation-for-surgery/)
- [Diabetes in hospital and around surgery](https://durgical.com/en/endocrinology/diabetes-in-hospital-and-around-surgery/)

## Related conditions 8

- [Chronic pancreatitis](https://durgical.com/en/conditions/chronic-pancreatitis/)
- [Pancreatic cancer](https://durgical.com/en/conditions/pancreatic-cancer/)
- [Cystic fibrosis](https://durgical.com/en/conditions/cystic-fibrosis/)
- [Hereditary hemochromatosis](https://durgical.com/en/conditions/hereditary-hemochromatosis/)
- [Cushing syndrome](https://durgical.com/en/conditions/cushing-syndrome/)
- [Acromegaly and gigantism](https://durgical.com/en/conditions/acromegaly-and-gigantism/)
- [Phaeochromocytoma](https://durgical.com/en/conditions/phaeochromocytoma/)
- [Diabetic ketoacidosis](https://durgical.com/en/conditions/diabetic-ketoacidosis/)

## In Pharmacology 6

- [Corticosteroids (glucocorticoids)](https://durgical.com/en/pharmacology/classes/corticosteroids/)
- [Prednisone](https://durgical.com/en/pharmacology/prednisone/)
- [Second-generation antipsychotics](https://durgical.com/en/pharmacology/classes/second-generation-antipsychotics/)
- [Tacrolimus](https://durgical.com/en/pharmacology/tacrolimus/)
- [Immune checkpoint inhibitors](https://durgical.com/en/pharmacology/classes/immune-checkpoint-inhibitors/)
- [Insulins](https://durgical.com/en/pharmacology/classes/insulins/)

[← All of endocrinology](https://durgical.com/en/endocrinology/)

Educational content; it does not replace a medical assessment and is not a clinical instruction. For confusion, persistent vomiting with diabetes, fainting or very low blood pressure in someone who takes or has stopped glucocorticoids, go to an emergency department at once.

Sources: [Cystic Fibrosis–Related Diabetes](https://www.ncbi.nlm.nih.gov/books/NBK545192/) (StatPearls (NCBI Bookshelf), 2023); [Hemochromatosis](https://www.ncbi.nlm.nih.gov/books/NBK430862/) (StatPearls (NCBI Bookshelf), 2026); [Endocrine-Related Adverse Events From Immune Checkpoint Inhibitors](https://www.ncbi.nlm.nih.gov/books/NBK594266/) (StatPearls (NCBI Bookshelf), 2026); [Atypical Antipsychotic Agents](https://www.ncbi.nlm.nih.gov/books/NBK448156/) (StatPearls (NCBI Bookshelf), 2024); [Hyperglycemia](https://www.ncbi.nlm.nih.gov/books/NBK430900/) (StatPearls (NCBI Bookshelf), 2026).

## **Spotted a mistake?** We are always improving for the community. Tell us what is wrong and our team will review it. Report a mistake

Representative model, for educational purposes only.

---
Source: https://durgical.com/en/endocrinology/diabetes-from-the-pancreas-hormones-and-drugs/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/endocrinology/diabetes-from-the-pancreas-hormones-and-drugs/
