only just

only just — idiom

1. said when one action or event happens with very little time before another one f

1.idiomB2
Definition

said when one action or event happens with very little time before another one follows it, so the two feel almost simultaneous

Example

I had only just sat down at the dinner table when the phone rang.

had only just + past participle + when

Lin had only just turned off the engine when the garage door began to open by itself.

named subject + had only just + past participle

Common collocations
  • had only just + [past participle]
  • only just + [past simple]
  • only just + [verb] + when / before
Synonyms
  • just

    more casual and shorter; 'just' alone can also mean 'a short time ago' without the 'barely' implication

  • moments before

    more formal or literary; specifies the time gap more explicitly

Antonyms
  • long before

    indicates a substantial time gap, opposite of 'immediately before'

  • well before

    suggests plenty of time passed between events

Grammar Patterns

had only just + past participle + when + clause

only just + past simple + before + clause

Usage Note

The second clause (introduced by 'when' or 'before') describes the event that follows very closely. The past perfect ('had only just + past participle') is the most common pattern.

Common Mistakes

I only just sat down at the table when the phone rang.' (simple past is less natural here).
I had only just sat down at the table when the phone rang.
Past perfect (had + past participle) is standard for this sense because it emphasises that the first action was completed immediately before the second.

2. describes a situation where something is true or sufficient by an extremely smal

2.idiomB1
Definition

describes a situation where something is true or sufficient by an extremely small margin, often used when a result could easily have gone the other way

Example

Ming could only just reach the top shelf even when she stood on her toes.

could only just + verb of ability

The bus driver only just managed to stop before the child ran into the street.

only just + manage to + infinitive

Common collocations
  • can / could only just + [verb]
  • only just + manage to + [infinitive]
  • only just + [achievement verb: pass, afford, reach, catch]
Synonyms
  • barely

    the closest synonym; 'barely' is more neutral in tone, while 'only just' can add a slight sense of relief or luck

  • hardly

    implies a stronger negative emphasis; 'hardly' often suggests nearly not at all, while 'only just' suggests it happened but with very little room

  • scarcely

    more formal and literary; similar to 'hardly' in strength

Antonyms
  • easily

    suggests plenty of room or comfort, opposite of a narrow margin

  • amply

    more formal; means more than sufficiently, opposite of 'only just sufficient'

  • comfortably

    used with the same verbs (pass, afford, fit) to indicate stress-free achievement

Grammar Patterns

can/could only just + verb

only just + manage to + infinitive

only just + past simple (achievement)

Usage Note

This sense is often interchangeable with 'barely' in most contexts ('barely' is slightly more common in American English). The phrase carries a strong implication that the opposite outcome was narrowly avoided.

Common Mistakes

I only just could hear the music.' (word order).
I could only just hear the music.
The modal verb ('can'/'could') comes before 'only just'.

Synonym discussion

Sense: idiom/2

'Only just' emphasises a narrow margin with a slight tone of relief or luck: the outcome happened, but it was very close. 'Barely' is the closest synonym and is more neutral — it simply states the narrowness without the emotional flavour. 'Hardly' is stronger and leans towards 'almost not at all' — saying 'I can hardly hear you' suggests you hear almost nothing, while 'I can only just hear you' suggests you do hear, but with difficulty. 'Scarcely' is the most formal of the four and appears more often in writing than in conversation. For example: 'We only just caught the train (we got on as the doors closed)' vs. 'We barely caught the train (neutral fact)' vs. 'There was hardly anyone on the platform (very few people — a different nuance).'

Etymology

Old EnglishLatinOld FrenchMiddle EnglishEnglish

The phrase 'only just' combines two words from different historical roots. 'Only' comes from Old English 'ānlic' meaning 'one-like, unique, solitary'. 'Just' entered English via Old French from Latin 'jūstus' meaning 'righteous, fair, exact'. The phrase came into common use in Middle English to express two related ideas: precise timing (sense 1) and a narrow margin (sense 2). Both senses developed naturally from the core idea of 'exactly' and 'no more than'.