Async Await vs Then Chains and When Each Fits
Compare async await with then chains for readability, error handling, parallel work and stack traces, and learn when each style is the better choice.

async/await and .then() chains are two syntaxes for the same thing. Both consume promises, both run on the same microtask queue, and the engine treats an async function as a promise-returning function in which await is roughly a .then() on the rest of the body. So the choice is not about speed or capability. It is about which one makes a given piece of code easier to read, to debug and to get right. This post compares async await vs then chains in Node.js 24 on five practical points: sequential code, error handling, parallel work, early exits and stack traces. It ends with a short guide for choosing, and it names the few cases where the older style is genuinely better.
The same flow in both styles
Take a flow of three dependent steps: find a user, find their latest order, format a message. Written with .then():
const findUser = (id) => Promise.resolve({ id, name: "Ada" });
const findOrder = (user) => Promise.resolve({ user, total: 42 });
function describeOrder(id) {
return findUser(id)
.then((user) => findOrder(user))
.then((order) => `${order.user.name} spent ${order.total}`);
}
console.log(await describeOrder(1));Ada spent 42And with async/await:
const findUser = (id) => Promise.resolve({ id, name: "Ada" });
const findOrder = (user) => Promise.resolve({ user, total: 42 });
async function describeOrder(id) {
const user = await findUser(id);
const order = await findOrder(user);
return `${order.user.name} spent ${order.total}`;
}
console.log(await describeOrder(1));Ada spent 42The results are identical. The difference shows when a later step needs an earlier value that is not the previous one. In the chain, user is out of scope in the third .then, so you either nest callbacks or thread the value through every return. With await, user is just a variable in the same scope. That scoping advantage is the largest practical win of async/await.
Error handling
In a chain, errors flow to the nearest .catch(), and a .catch() placed in the middle recovers and continues. In async code you use try/catch, which also covers synchronous throws in the same block.
const flaky = () => Promise.reject(new Error("upstream down"));
// Chain: recover with a default, then continue.
const viaChain = await flaky()
.catch(() => "default")
.then((value) => value.toUpperCase());
console.log(viaChain);
// await: the same recovery.
async function viaAwait() {
let value;
try {
value = await flaky();
} catch {
value = "default";
}
return value.toUpperCase();
}
console.log(await viaAwait());DEFAULT
DEFAULTFor a single recovery point, the chain is shorter. For several steps that can fail in different ways, try/catch reads better, because you can wrap exactly the calls that need handling and use ordinary control flow such as if and return inside the handler. A well-known trap exists in both styles: forgetting to return or await the inner promise. In a chain, a .then callback that does not return its promise lets the chain continue early. In async code, a missing await leaves a floating promise whose rejection is unhandled.
Parallel work
Neither syntax makes things parallel by itself. Two awaits in a row run sequentially, and two .then chains started separately run concurrently. For parallel work both styles use Promise.all.
const wait = (ms, value) => new Promise((resolve) => setTimeout(resolve, ms, value));
// Sequential by accident
async function slow() {
const a = await wait(100, "a");
const b = await wait(100, "b");
return a + b;
}
// Parallel on purpose
async function fast() {
const [a, b] = await Promise.all([wait(100, "a"), wait(100, "b")]);
return a + b;
}
let start = performance.now();
console.log(await slow(), Math.round((performance.now() - start) / 100) * 100, "ms");
start = performance.now();
console.log(await fast(), Math.round((performance.now() - start) / 100) * 100, "ms");ab 200 ms
ab 100 msThe timings are rounded to the nearest 100 so the output is stable. The risk in await style is writing the slow version without noticing, because each line looks innocent. The chain style makes the sequence visible as a series of .then calls, which some readers find easier to spot. Either way, loading data in parallel without waterfalls covers how to find and fix it.
Loops and conditionals
This is where async/await pulls clearly ahead. A loop that processes items one after another is one for...of with an await inside. The chain equivalent needs reduce to build a promise chain, which few people can read at a glance.
const save = (item) =>
new Promise((resolve) => setTimeout(() => resolve(`saved ${item}`), 10));
// await style
async function saveAll(items) {
const results = [];
for (const item of items) {
results.push(await save(item));
}
return results;
}
// then style
function saveAllChain(items) {
return items.reduce(
(chain, item) => chain.then((results) => save(item).then((r) => [...results, r])),
Promise.resolve([])
);
}
console.log(await saveAll(["a", "b"]));
console.log(await saveAllChain(["a", "b"]));[ 'saved a', 'saved b' ]
[ 'saved a', 'saved b' ]The same goes for conditionals: "if the cache has it, return it, otherwise fetch" is an early return in async code, and a branch with duplicated .then tails in a chain.
Stack traces
Modern V8 produces async stack traces for await: when an error is thrown after an await, the trace includes the async function frames that were waiting, as in at async describeOrder. Chains lose that link, because each .then callback runs from the microtask queue with no caller frame, so the trace often shows only the callback. This makes await noticeably easier to debug in Node.js 24. The trace is only fully informative if you await the promise: a floating promise has no waiting frame to show.
When the chain is better
There are real cases for .then(). A short transformation of a promise you are passing along is one: fetch(url).then((response) => response.json()) is a one-liner inside a larger expression, and making a function async for it adds noise. Another is code that must not be async, such as a function that has to return a promise from a non-async API or an event handler where you do not want to introduce an extra layer. A third is .finally(), which has no clean await equivalent except a try/finally block, though that block is perfectly good.
Also, .then accepts two arguments, a fulfillment handler and a rejection handler. promise.then(onOk, onError) differs from promise.then(onOk).catch(onError): in the first, onError does not catch errors thrown by onOk. That subtlety is a source of confusion, and try/catch makes the scope explicit.
Mixing the two
You are free to mix them in one function, and good code often does. Use await for the main flow and a .catch() for a single optional call whose failure should not interrupt it:
const optionalCall = () => Promise.reject(new Error("not available"));
async function main() {
const extra = await optionalCall().catch(() => null);
return extra ?? "no extra data";
}
console.log(await main());no extra dataThis is shorter than a try/catch for one call and still reads top to bottom.
Where the advice stops
Do not rewrite working chains only for style. A codebase mixing both is fine when each use is the clearer one, and a rewrite risks changing behavior in subtle ways, such as the moment errors are thrown or the order of microtasks. Also note that await in a top-level module works in ES modules on Node.js 24, but not in CommonJS files, where you wrap the code in an async function.
A practical guideline for teams
Teams do better with a simple default than with a long style debate. A default that works well: write new asynchronous functions with async/await, keep .then() for one-line transformations and for adapting promises at API boundaries, and never mix a long chain inside an async function without a reason. Reviewers can then focus on the issues that cause real bugs, which are missing awaits, accidental sequencing and swallowed errors, rather than on whether a function used the preferred syntax.
A linter helps enforce the parts that matter. The rules no-floating-promises and no-misused-promises from typescript-eslint catch promises that are neither awaited nor handled and async functions passed where a synchronous callback is expected. The core rule require-await flags async functions that never await, which are usually a sign of a function that could be synchronous or that is missing an await. These rules catch the mistakes both syntaxes allow, and they matter more than the syntax choice itself.
Migrating old chains
When you do convert an old chain, change one thing at a time and keep the tests running. Convert each .then step into an await line, turn the final .catch into a try/catch around the same calls, and check that the returned value is the same. One difference to watch is that a chain returns a promise even when its first step throws synchronously, while an async function also turns synchronous throws into rejections. A plain function that builds a chain can throw before it returns a promise, so wrapping it in async changes that behavior slightly, usually for the better.


