sub·​rou·​tine | \ ˈsəb-(ˌ)rü-ˌtēn How to pronounce subroutine (audio) \

Definition of subroutine

: a subordinate routine specifically : a sequence of computer instructions for performing a specified task that can be used repeatedly

Examples of subroutine in a Sentence

Recent Examples on the Web For non-sentient AI, this might be a computational subroutine built into the AI by the human developers of the AI. Lance Eliot, Forbes, 5 May 2022 The Split-or-Johnson procedure contained a recursive step, in which a certain subroutine split the problem into two smaller pieces and then called itself to run again on the smaller pieces. Quanta Magazine, 14 Jan. 2017 For example, there’s a subroutine that smooths the movement of the stick figures so the dancers don’t jerk about too much, and a completely separate neural network dedicated to re-tracing the target’s face to ensure realism. James Vincent, The Verge, 26 Aug. 2018 Each agent is an autonomous subroutine that responds in reasonably human ways to other agents and the evolving disaster by switching among multiple modes of behavior—for example, panic, flight, and efforts to find family members. M. Mitchell Waldrop, Science | AAAS, 12 Apr. 2018

These example sentences are selected automatically from various online news sources to reflect current usage of the word 'subroutine.' Views expressed in the examples do not represent the opinion of Merriam-Webster or its editors. Send us feedback.

First Known Use of subroutine

circa 1946, in the meaning defined above

History and Etymology for subroutine

International Scientific Vocabulary

Buying Guide

Our Reviews team has selected the best MacBooks.

Learn More About subroutine

Time Traveler for subroutine

Time Traveler

The first known use of subroutine was circa 1946

See more words from the same year

Dictionary Entries Near subroutine




See More Nearby Entries 

Statistics for subroutine

Cite this Entry

“Subroutine.” Dictionary, Merriam-Webster, Accessed 7 Aug. 2022.

Style: MLA
MLACheck Mark Icon ChicagoCheck Mark Icon APACheck Mark Icon Merriam-WebsterCheck Mark Icon


Test Your Vocabulary

The Great British Vocabulary Quiz

  • union jack speech bubble
  • Named after Sir Robert Peel, what are British police called?
Spell It

Can you spell these 10 commonly misspelled words?

Universal Daily Crossword

A daily challenge for crossword fanatics.

Love words? Need even more definitions?

Subscribe to America's largest dictionary and get thousands more definitions and advanced search—ad free!