Understanding whether to capitalize by in your writing depends entirely on its grammatical function within the sentence. This tiny two-letter word is a preposition, and as a general rule, prepositions are not capitalized unless they appear at the very beginning of a title or are exceptionally long. The specific question "do you capitalize by" arises frequently because the word is so common and often sits right next to the verb "to be," yet its role as a directional or temporal marker means it usually stays lowercase in the middle of a sentence.
The Basic Grammar Rule
In standard English prose, you do not capitalize "by" when it is used as a preposition linking a noun or pronoun to another part of the sentence. It functions to show the agent performing an action, the means used to achieve something, or the proximity of time or location. Since it does not function as a noun or verb in these contexts, it remains lowercase. You see this in sentences like "The project was completed by the team" or "I traveled by train," where "by" simply indicates the method or agent and is therefore uncapitalized.
Exceptions in Titles
When moving from sentence-level writing to title formatting, the rule shifts significantly. Style guides for titles, such as APA, MLA, or Chicago, generally recommend capitalizing major words, which includes prepositions like "by" when they appear in titles. Whether you are crafting a book cover, a research paper heading, or a news article slug, "By" will almost always appear with a capital "B" in the title text. This visual prominence signals to the reader that this is a structural element of the heading, not just a connecting word in a flowing sentence.
Contextual Usage in Passive Voice
The confusion often arises in passive voice constructions, where "by" is essential for identifying the subject performing the action. In the sentence "The contract was signed by the CEO," the word "by" is crucial for understanding who authorized the document. Despite its importance to the syntax, it remains a preposition and is not capitalized in the middle of a sentence. Only when this specific phrase appears as a title—such as a book or report name—would you apply capitalization and write it as "By the CEO."
Contrast with Adverbial Use
While rare, the word "by" can sometimes function as an adverb meaning "near" or "alongside," particularly in older English or specific idiomatic phrases. In these instances, the word is still generally lowercase, as adverbs modifying verbs do not require capitalization unless they begin a sentence. The standard prepositional use covers the vast majority of modern writing, ensuring that writers can apply the "lowercase by" rule consistently without needing to parse the deeper etymology of the word in every instance.
Application in Modern Style Guides
Professional style guides provide clear direction for the treatment of "by" in published work. They universally agree that in sentence text, the word should remain lowercase. However, they uniformly instruct writers to capitalize it in titles to maintain visual consistency and readability. Following these established conventions ensures that your writing appears polished and professional, whether you are drafting an academic thesis, a corporate report, or a casual blog post that requires adherence to specific formatting standards.