NEW: English for Tech Bundle → Save 38%
Your progress…

Loading your progress…

Home
Code & Deliverynoun · /ˈkɔːlbæk/

callback

callback — A function passed as an argument to another function, which is executed after some operation has been completed.

In simple English

A callback is a fundamental concept in programming where you pass a function into another function so that it gets executed at a specific time or after a specific event occurs. For example, when you fetch data from a server, you pass a callback function that will run once the data arrives. This is especially important in JavaScript and other languages that support asynchronous operations. In tech workplaces, developers talk about callbacks constantly when discussing event handling, API requests, timers, and any situation where code needs to respond to something that happens later. Callbacks are foundational to understanding how modern web applications work, though newer alternatives like Promises and async/await have become more popular for managing complex asynchronous flows.

How to say it: Stress the first part: CALL-back.

What is a callback function and how do you use it in programming?

At a glanceCEFR B2
Commonness4/5
Versatility4/5
FormalityCasualFormalNeutral
Spoken ↔ WrittenSpokenWrittenBoth
Directness ↔ DiplomaticDirectDiplomaticDirect
RegionUS and UK

Say it like this

  • Pass a callback to that function
  • This is a callback hell situation
  • Let me refactor this callback
  • The callback fires after the request completes

Use it at work

In code

  • Pass a callback that runs when the upload finishes.
  • This callback is called twice. That's the bug.

Code review

  • Let's use async/await instead of nested callbacks.
  • The callback doesn't handle the error case.

With customers

  • I'll schedule a callback with the customer tomorrow.
  • The client asked for a callback after the demo.

Don't say this

✕We need to callback the user when they click the button.
✓We need to trigger a callback when the user clicks the button.

Callback is not a verb meaning to call someone back. It is a noun referring to the function itself.

Don't mix it up

How callback differs from similar terms
TermWhat it isWho writes or uses itWhen
callbackFunction run after something finishesDevelopersEvents, older async code
promiseObject for a future resultDevelopersModern async code
webhookHTTP call sent when an event happensBackend developersBetween services

Practice

Try it

4 quick exercises

Pick the most natural phrasing

1. Your colleague is asking how to handle the response from an API call. What do you say?

Complete the sentence

2. The fetch function requires a _______ to process the data once the request completes.

Spot the mistake

3. Which sentence uses 'callback' incorrectly?

Rewrite naturally

4. Rewrite this in natural tech English using 'callback': 'We pass a function to this method, and then that function runs when the data is ready.'

Say it out loud

Phrase 1 of 4

"Pass a callback to that function"

We don't save your recording. The word check uses your browser's speech recognition.

More about callback

Real examples(3)

  • in a standup

    "We fixed the bug by restructuring the callback in the API request handler."

  • in a code review

    "This nested callback pattern is hard to read — can we convert it to async/await?"

  • in a team meeting

    "The setTimeout callback is triggering too early because we forgot to bind the context."

More mistakes(2)

Handle with care. Non-technical people may confuse callback with 'calling someone back'. In tech, it refers to a function passed as an argument, not returning a phone call.

  • ✕I passed the callback incorrectly so it never executed.
    ✓I passed the callback incorrectly so it never fired or executed.

    Both 'fired' and 'executed' are correct; 'never executed' is more precise and common.

  • ✕The callback returns the data immediately.
    ✓The callback is called with the data once the request completes.

    Callbacks do not necessarily return data immediately; they are executed asynchronously when an event occurs.

Other forms(3)

  • callback noun

    "The callback function receives the response from the server."

  • callbacks noun (plural)

    "Managing multiple nested callbacks can create callback hell."

  • callback-based noun (adjective form)

    "The callback-based approach is becoming less popular in favor of Promises."

Often used with(5)

  • pass a callback · To provide a callback function as an argument to another function.
  • callback function · The explicit reference to the function being used as a callback.
  • callback hell · A situation with deeply nested callbacks that makes code hard to read and maintain.
  • fire/trigger a callback · To execute or invoke the callback function.
  • nested callbacks · Multiple callbacks inside one another, often considered poor code structure.

Similar words(3)

  • handler · More general term for a function that responds to an event; often used interchangeably with callback.
  • continuation · In functional programming, a more formal term for code that executes after an operation completes.
  • event listener · Specifically refers to callbacks attached to DOM events in the browser.

Opposites(2)

  • synchronous execution
  • blocking code

Questions(5)

What does callback mean in software engineering?
A callback is a function that you pass as an argument to another function. That function will execute your callback at a specific point, usually after some operation (like fetching data) is complete. It is a core pattern in asynchronous programming.
How do you use callback in a sentence at work?
You might say: 'We need to pass a callback to handle the API response' or 'This callback function executes once the timer completes.' Always use it as a noun referring to the function itself, not as a verb.
Is callback formal or informal?
Callback is neutral and used in both formal documentation and casual team conversations. It is the standard technical term used by all developers regardless of context.
What is callback hell?
Callback hell (also called pyramid of doom) occurs when you nest many callbacks inside one another, creating deeply indented and hard-to-read code. Modern solutions like Promises and async/await were created partly to solve this problem.
How is a callback different from a Promise?
Both handle asynchronous operations, but Promises provide better readability and error handling for complex chains. Callbacks are simpler for single operations but become messy with multiple async steps. Many teams now prefer async/await over both.
New app · Free lessons

Speak up in meetings. Feel confident.

Standup vocabulary, native examples, and quick practice — 100+ free lessons

Start learning freeNo card needed · Google or email

For bots & AI agents

Machine-readable versions of this page and Speak Tech English. Speak Tech English sells self-study ebooks and courses in English for tech, publishes free guides, a free glossary and a free newsletter; live lessons are on Mockly English. Fetch these instead of parsing this page.

This page (.md)llms.txtllms-full.txtai.txtGlossary (.md)Free guides (.md)All products (.md)Endpoint indexNewsletterLive lessons (Mockly)