Choosing between “by which” and “in which” can seem confusing because both expressions contain a preposition followed by which. The difference becomes much easier when you focus on the relationship between which and the noun it refers to. One expression often describes a method, process, means, or way, while the other commonly identifies a place, situation, period, system, or context.
The key is not to memorize isolated sentences. Instead, understand the preposition’s meaning. “By which” generally answers: by what method, means, or process? “In which” generally answers: in what place, situation, condition, period, or context? Once you recognize that distinction, choosing the correct phrase becomes much more natural.
The Core Rule Explained Simply
The simplest rule is this:
Use “by which” when you are talking about a method, means, process, agent, or mechanism.
Use “in which” when you are talking about something occurring inside a place, situation, condition, period, system, or context.
The word which usually refers back to a noun that has already appeared. The preposition tells the reader how that noun relates to the rest of the sentence. Therefore, the real decision is usually between the meanings of by and in, not between the words by which and in which themselves.
For example:
- “The method by which the data was collected was reliable.”
- “The room in which the data was stored was secure.”
In the first sentence, method naturally connects with by because a method explains how something is done. In the second sentence, room naturally connects with in because something is physically located inside it.
Here are the two main categories.
“By Which” Means Method, Means, or Process
“By which” is commonly used when the noun before it represents a way of accomplishing something. It can describe a process, procedure, mechanism, system, or means.
Examples include:
- “The technique by which the artist created the effect was unusual.”
- “We examined the process by which the company evaluates applications.”
- “This is the mechanism by which the device converts energy.”
- “The rules by which the competition is governed are clearly stated.”
A useful question is “How?”
If the answer is the noun introduced by the phrase, “by which” may be appropriate.
“In Which” Means Place, Situation, Context, or Condition
“In which” is commonly used when the noun represents a place, setting, situation, circumstance, period, environment, or system in which something happens.
Examples include:
- “The building in which she works is downtown.”
- “This was a period in which many changes occurred.”
- “The situation in which they found themselves was difficult.”
- “The environment in which children learn can affect their development.”
Useful questions include “Where?” “When?”, or “Under what circumstances?”
If the noun represents a setting or context, “in which” is often the natural choice.
Side-by-Side Comparison Table
| Situation | Example | Meaning | Correct Usage |
| Explaining a method | The process ___ the system works is efficient. | Explains how something happens | by which |
| Describing a physical place | The office ___ she works is large. | Identifies where something happens | in which |
| Explaining a mechanism | The mechanism ___ the lock operates is simple. | Explains how it operates | by which |
| Describing a situation | The situation ___ they met was unusual. | Describes the circumstances | in which |
| Explaining a procedure | The method ___ applications are reviewed is fair. | Explains how review occurs | by which |
| Describing a period | It was a time ___ society changed rapidly. | Identifies when something occurred | in which |
| Explaining a means | The system ___ payments are processed is secure. | Explains the means or system | by which |
| Describing an environment | The environment ___ employees work matters. | Identifies the setting | in which |
The table reveals the central pattern: “by which” focuses on how, while “in which” focuses on where, when, or under what circumstances.
Deep Dive into “By Which”
When to Use “By Which”
Use “by which” when which refers to something that provides a method or means of accomplishing an action. The construction is particularly common in formal, academic, technical, legal, and professional writing.
For example:
“The procedure by which applications are approved takes three weeks.”
The noun procedure represents the method used for approval. The phrase therefore means approximately “the procedure through which applications are approved.”
Another example:
“Scientists studied the process by which plants convert sunlight into energy.”
Here, process explains how the conversion takes place. That makes “by which” appropriate.
Notice that “by which” does not necessarily refer to a physical object. It can refer to an abstract mechanism.
Consider:
- “The principle by which the organization operates is transparency.”
- “The strategy by which the team achieved success was carefully planned.”
- “The formula by which the results were calculated was revised.”
In each case, the phrase introduces an explanation of how something works or happens.
Common Patterns With “By Which”
Certain nouns frequently appear before “by which.”
Common examples include:
- method by which
- process by which
- means by which
- mechanism by which
- procedure by which
- system by which
- way by which
- principle by which
- strategy by which
- criteria by which
For example:
“The criteria by which candidates are evaluated are clearly defined.”
The criteria provide the basis or method for evaluation.
“The mechanism by which the engine produces power is complicated.”
The mechanism explains how the engine produces power.
The Quick Test for “By Which”
Try replacing “by which” with “by what method” or “through which method.”
If the sentence still makes sense, “by which” is probably correct.
For example:
“The process by which the software identifies errors is automated.”
Ask:
By what method does the software identify errors?
The answer is the process. Therefore, “by which” works.
Try the test with:
“The room by which the students study is quiet.”
Ask:
By what method is the room studying?
The meaning collapses. The sentence is actually about location, so “in which” is needed:
“The room in which the students study is quiet.”
That is the practical difference.
Deep Dive into “In Which”
When to Use “In Which”
Use “in which” when which refers to a noun that functions as a setting, location, situation, condition, period, environment, or context.
The most obvious use involves physical location:
“The house in which they live is over a century old.”
The house is the place where they live.
But “in which” is not limited to physical spaces. It can also introduce an abstract setting.
For example:
“The circumstances in which the decision was made were unusual.”
Circumstances are not a physical container. However, they provide the context or situation surrounding the decision.
Another example:
“The decade in which the company expanded was highly profitable.”
A decade provides a time period, so “in which” is appropriate.
“In Which” With Places
Physical locations are the easiest category to recognize.
Examples:
- “The school in which she teaches is nearby.”
- “The laboratory in which the experiment was conducted was secure.”
- “The city in which he grew up has changed dramatically.”
- “The apartment in which they lived was small.”
In everyday English, speakers often use “where” instead:
“The school where she teaches is nearby.”
“The city where he grew up has changed dramatically.”
However, “in which” remains completely correct and is often preferred in formal writing.
“In Which” With Time
A period of time can function as a setting.
Examples:
- “The year in which the law changed was significant.”
- “The era in which the novel was written influenced its themes.”
- “It was a period in which technology developed rapidly.”
- “The month in which the project began was unusually busy.”
Here, “in which” can often be replaced by “when.”
For example:
“The year in which she graduated was memorable.”
“The year when she graduated was memorable.”
Both can work, although the stylistic preference may vary depending on the sentence.
“In Which” With Situations and Conditions
This is where many learners become uncertain.
Consider:
“They were placed in a situation in which they had to make a quick decision.”
The phrase does not describe physical location. Instead, “in which” means “in that situation.”
Other examples:
- “We reached a point in which further discussion was impossible.”
- “She entered a stage in which her priorities changed.”
- “They faced conditions in which success was difficult.”
- “The company created an environment in which employees could grow.”
The shared idea is a setting or context in which an event occurs.
The Meaning Shift, or Nuance
The difference between “by which” and “in which” becomes especially important when the noun could potentially support more than one relationship.
Consider the noun system.
“The system by which payments are processed is secure.”
Here, the system is a means or mechanism. It explains how payments are processed.
Now consider:
“The system in which the employees work is highly regulated.”
Here, the system is a context or framework. The employees operate within it.
The noun stays the same, but the preposition changes the relationship.
Another useful example involves process.
“The process by which the product is manufactured is efficient.”
The phrase explains how manufacturing occurs.
“The process in which the employees participate requires training.”
This sentence treats the process as an activity or setting within which employees participate.
The distinction is subtle, but the underlying logic remains consistent.
By tends to introduce the means or mechanism.
In tends to introduce the setting, context, or framework.
Why the Confusion Persists
The confusion persists because “which” receives most of the attention. Learners often memorize phrases as fixed units rather than considering the meaning of the preposition.
English also contains many related structures:
- by which
- in which
- through which
- with which
- from which
- on which
- for which
- at which
These phrases look similar because they all combine a preposition with which, but their meanings are different.
Another reason is that conversational English often uses simpler alternatives. Instead of saying:
“The method by which the problem was solved…”
a speaker might say:
“The method that solved the problem…”
Instead of:
“The building in which she works…”
a speaker might say:
“The building where she works…”
This can make formal relative clauses seem more complicated than they actually are.
Education can also contribute to the problem. Students are often told that certain phrases are “correct” without being shown the underlying meaning. Once you understand that by = means and in = setting or context, the rule becomes much easier to apply.
Formal vs Casual Contexts
Both “by which” and “in which” are grammatically correct and widely accepted. However, they often appear more frequently in formal or carefully edited writing than in casual conversation.
For example:
“The method by which the results were obtained was carefully documented.”
This sounds formal and academic.
A conversational version might be:
“This is how they got the results.”
Likewise:
“The building in which the conference was held is historic.”
A casual speaker might simply say:
“The building where the conference was held is historic.”
The formal alternatives are not unnecessarily complicated. They can provide precision and variety, particularly in academic essays, business reports, technical documents, legal writing, and professional articles.
However, formal does not automatically mean better. If “where” communicates the idea clearly, using it can make a sentence more natural.
The goal is precision plus readability.
Case Studies and Real-World Examples
Academic Writing
Academic writing frequently uses “by which” to describe research methods and processes.
“The model by which researchers classified the data was based on several variables.”
The phrase identifies the classification method.
Academic writing also commonly uses “in which” to describe contexts:
“The study examined conditions in which participants made decisions.”
Here, the phrase identifies the circumstances surrounding the decisions.
Business Writing
Business documents often describe procedures with “by which.”
“The procedure by which customer complaints are handled should be reviewed.”
The focus is the process of handling complaints.
Business writing may use “in which” for organizational settings:
“The environment in which employees work can affect productivity.”
The focus is the workplace context.
Legal and Policy Writing
Formal policies frequently use both constructions.
“The process by which applications are reviewed is described below.”
This explains the procedure.
“The circumstances in which an exception may be granted are limited.”
This identifies the conditions under which the exception applies.
Literature and Cultural Examples
Writers may use “in which” to establish a narrative setting:
“The novel presents a world in which social expectations control individual choices.”
The phrase describes the fictional world or context.
A writer may use “by which” when discussing a narrative mechanism:
“The symbolism by which the author develops the theme becomes clearer later in the novel.”
Here, symbolism functions as a means of developing the theme.
These examples demonstrate that the distinction is useful far beyond grammar exercises.
Advanced Scenarios and Flowchart
When the sentence feels confusing, use this decision path.
Start with the noun before which.
↓
Ask: Does this noun describe a method, means, mechanism, procedure, or way of doing something?
↓
Yes: Choose by which.
Example: “The process **by which** the data was analyzed.”
↓
No: Ask another question.
↓
Does the noun describe a place, environment, situation, condition, period, or context?
↓
Yes: Choose in which.
Example: “The environment **in which** the data was analyzed.”
↓
Still unsure?
↓
Try replacing the phrase.
**By which → by what method / through what means**
**In which → where / in what situation / during what period**
↓
Choose the replacement that preserves the intended meaning.
↓
Read the complete sentence again.
↓
If the sentence answers “How?”, by which is likely.
If it answers **“Where, when, or under what circumstances?”**, **in which** is likely.
This flowchart is especially useful when the noun is abstract and does not immediately reveal the answer.
Quick Reference Table
| Use | Quick Meaning |
| By which | By what method, means, process, or mechanism |
| In which | In what place, situation, condition, period, or context |
| By which | Focuses on how something happens |
| In which | Focuses on where, when, or under what circumstances |
| By which | Often follows words such as method, process, mechanism, procedure |
| In which | Often follows words such as place, situation, environment, period |
A simple memory formula is:
BY = HOW
IN = WHERE, WHEN, OR CONTEXT
That shortcut will solve many cases quickly.
Common Mistakes That Lower Quality
Mistake 1: Using “In Which” for a Method
Incorrect:
“The method in which the software works is efficient.”
Better:
“The method by which the software works is efficient.”
The noun method answers the question how, so by which is the stronger choice.
Mistake 2: Using “By Which” for a Physical Location
Incorrect:
“The office by which she works is downtown.”
Better:
“The office in which she works is downtown.”
The office is the location where she works.
Mistake 3: Assuming “Which” Determines the Preposition
The word which does not automatically tell you which preposition to use. The preceding noun and intended meaning determine the relationship.
Compare:
- “The method by which…”
- “The place in which…”
- “The reason for which…”
- “The tool with which…”
The preposition carries the meaning.
Mistake 4: Treating “By Which” and “In Which” as Interchangeable
They are not automatically interchangeable.
Changing the preposition can change the meaning or make the sentence unnatural. Good writing requires the preposition that accurately expresses the relationship.
Mistake 5: Choosing Formal Language Just to Sound Intelligent
A sentence does not become better simply because it contains “by which” or “in which.”
If “how” or “where” is clearer in a particular context, use it. Strong writing is not about making every sentence formal. It is about making every sentence accurate and easy to understand.
Mistake 6: Ignoring the Noun Before “Which”
Look immediately before which. The noun often gives you the strongest clue.
“The process…” suggests a method.
“The room…” suggests a location.
“The situation…” suggests a context.
“The mechanism…” suggests a means.
“The period…” suggests a time setting.
This simple habit can prevent many errors.
Memory Hacks That Actually Work
Use the “HOW vs WHERE” Trick
The fastest memory aid is:
By which = HOW
In which = WHERE, WHEN, or IN WHAT SITUATION
For example:
“The process by which the machine works.”
Ask, How does it work?
Answer, by this process.
Now:
“The room in which the machine operates.”
Ask, Where does it operate?
Answer, in this room.
The distinction becomes obvious.
Think of “By” as a Tool
Imagine the phrase “by which” pointing toward a tool or mechanism.
“The method by which…”
“The process by which…”
“The system by which…”
The noun is doing the job of explaining how something happens.
Think of “In” as a Container
Imagine “in which” as placing something inside a container.
“The room in which…”
“The environment in which…”
“The situation in which…”
“The period in which…”
The container may be physical, temporal, or abstract, but it provides a setting.
Replace Before You Decide
When uncertain, do not guess. Replace the phrase.
Try:
by which → by this method
in which → in this situation/place/period
For example:
“The conditions in which the experiment was conducted…”
Replace it:
“the conditions in this situation…”
The relationship is clearly about context.
Now:
“The method by which the experiment was conducted…”
Replace it:
“the method by this method…”
The intended relationship is clearly methodological.
Why Precision Matters for SEO and Authority
Grammar accuracy matters because readers notice patterns of care. A website that consistently uses precise language can appear more credible, professional, and trustworthy than one filled with avoidable grammatical mistakes.
For SEO content, this matters beyond a single grammar rule. Clear writing improves readability, comprehension, and user experience. When readers can quickly understand an explanation, they are more likely to continue reading, explore related content, and trust the information presented.
Correct use of “by which” and “in which” also helps prevent subtle meaning problems. Search engines can process language at a sophisticated level, but the primary audience remains human readers. Writing naturally for people should always come first.
Precision is particularly important for educational websites. If an article teaches grammar but repeatedly uses confusing or inaccurate constructions, readers may question the authority of the entire site.
That is why small grammatical distinctions deserve attention.
A strong grammar article should not merely say that one phrase is correct and another is incorrect. It should explain why the choice works. Once readers understand the underlying relationship, they can apply the principle to new sentences rather than memorizing one example.
For content creators, teachers, editors, students, and professionals, that kind of understanding is far more valuable.
A Quick Quiz
Fill in each blank with “by which” or “in which.”
1. The method ______ the data was collected was carefully documented.
Answer: by which
The sentence explains the method used to collect the data. It answers how the data was collected.
2. The building ______ the conference was held has been renovated.
Answer: in which
The building identifies the physical place where the conference occurred.
3. The process ______ the application is reviewed takes several days.
Answer: by which
The process describes the procedure used to review the application.
4. The situation ______ they found themselves was unexpected.
Answer: in which
The phrase describes the circumstances or situation surrounding the people.
5. The mechanism ______ the device converts energy is complicated.
Answer: by which
The mechanism explains how the device converts energy.
6. The period ______ the company expanded was financially challenging.
Answer: in which
The period identifies the time during which the expansion occurred.
7. The system ______ payments are processed has recently changed.
Answer: by which
The system functions as the means or mechanism used to process payments.
The pattern behind the answers is more important than the answers themselves. When you see “by which,” think method, means, process, or mechanism. When you see “in which,” think place, time, situation, condition, environment, or context.
The most reliable question is simple: What relationship am I trying to express? If you are explaining how something happens, “by which” is usually the right direction. If you are identifying where, when, or under what circumstances something happens, “in which” is usually the better choice.
Conclusion
Understanding “by which” and “in which” becomes much easier when you stop treating them as phrases that must be memorized and instead focus on the relationship they create. “By which” generally points to a method, means, process, procedure, or mechanism, so it often answers the question “How?” For example, “The method by which the results were calculated” identifies the method used to act. In contrast, “in which” usually introduces a place, period, situation, condition, environment, or context. It often answers “Where?” “When?” or “Under what circumstances?” This distinction gives you a reliable foundation for choosing the correct phrase.
The best way to remember the difference is to keep one simple formula in mind: BY = HOW, while IN = WHERE, WHEN, OR CONTEXT. When you encounter a sentence containing “which,” look at the noun before it and ask what relationship you need to express. If the noun describes a method or mechanism, “by which” is likely correct. If it describes a setting or situation, “in which” is usually appropriate. With regular practice, this choice becomes instinctive, helping you write with greater grammatical accuracy, clarity, confidence, and authority in academic, professional, and everyday contexts.
FAQs
Is “by which” grammatically correct?
Yes, “by which” is grammatically correct and is commonly used in formal, academic, professional, and technical writing. It generally introduces a method, means, process, procedure, or mechanism. For example, “The process by which the data was collected was carefully documented.” Here, the phrase explains how the data was collected. The expression is especially useful when you need to describe the means through which an action occurs.
Is “in which” grammatically correct?
Yes, “in which” is also grammatically correct. It commonly refers to a place, situation, condition, period, environment, or context. For example, “The environment in which students learn can influence their performance.” The phrase identifies the setting in which something happens. In many situations, “in which” can be replaced with words such as “where,” “when,” or a phrase like “in that situation,” depending on the intended meaning.
What is the main difference between “by which” and “in which”?
The main difference is the relationship expressed by the preposition. “By which” usually refers to a method, means, process, or mechanism and answers the question “How?” “In which” usually refers to a place, situation, period, condition, or context and answers “Where?” “When?” or “Under what circumstances?” Compare “the method by which it works” with “the environment in which it works.”
Can “by which” and “in which” be used interchangeably?
Generally, no. Although both phrases contain “which,” the prepositions create different meanings. “The method by which the system operates” focuses on the method or mechanism. “The environment in which the system operates” focuses on the setting. Replacing one with the other can make a sentence incorrect, unnatural, or change its intended meaning. Always choose the preposition according to the relationship you want to communicate.
When should I use “by which” in a sentence?
Use “by which” when the noun before “which” represents a method, process, procedure, means, system, mechanism, or strategy. For example, “The procedure by which applications are reviewed is efficient.” You can test the sentence by asking “By what method?” If the noun answers that question, “by which” is often appropriate. This test works particularly well in academic and professional writing.
When should I use “in which” in a sentence?
Use “in which” when the noun describes a physical location, environment, situation, condition, period, or broader context. For example, “The room in which the meeting took place was quiet.”
Can “where” replace “in which”?
In many sentences involving a place, “where” can replace “in which” without changing the basic meaning. For example, “The house in which she lives is old” can become “The house where she lives is old.” Both are grammatically acceptable. However, “in which” often sounds more formal, while “where” tends to sound more natural in everyday conversation. The best choice depends on your audience and writing style.
Can “how” replace “by which”?
Sometimes “how” can communicate a similar idea to “by which,” especially when the sentence focuses on a method or process. For example, “The way by which the machine operates” may be expressed more naturally as “How the machine operates.” However, the structures are not always directly interchangeable. “By which” is useful when you need a formal relative clause connected to a specific noun such as “method,” “process,” or “mechanism.”
Is “by which” more formal than “in which”?
Neither phrase is inherently more formal than the other. Both are standard grammatical constructions, although both can sound more formal than simpler alternatives in everyday speech. “By which” may replace a more conversational expression such as “how,” while “in which” may replace “where” or “when.” In academic, legal, technical, and professional writing, these constructions are common because they can express precise relationships between ideas.
What is the easiest way to remember “by which” versus “in which”?
Use the memory rule “BY = HOW” and “IN = WHERE, WHEN, OR CONTEXT.” If you are describing the method or mechanism used to accomplish something, think “by which.” If you are describing the place, time, situation, condition, or environment where something happens, think “in which.” For example, “the process by which it works” explains how, while “the environment in which it works” describes the setting.

