Have you ever written a sentence and stopped because you were unsure whether to say “by which” or “in which”? You are not alone. These two phrases look very similar because both contain the relative pronoun which, but the prepositions by and in give them different meanings. Choosing the right one depends on what relationship you want to show between the noun and the rest of the sentence.
The good news is that the difference is easier to understand than it first appears. “By which” often describes a method, means, process, or agent. “In which” commonly describes a place, situation, condition, period, or context. For example, “This is the method by which we solve the problem” focuses on the method, while “This is the situation in which we found ourselves” focuses on the situation.
In this guide, we will explain by which or in which, show the grammar rules behind both phrases, provide practical examples, and give you simple tests to choose the correct form with confidence. 😊 At the House or In the House | Time Slot or Timeslot | Sweeped vs Swept
Quick Answer: By Which or In Which?

“By which” and “in which” are both grammatically correct, but they have different meanings.
- Use by which when you mean “by the method that,” “through which,” “by means of which,” or sometimes “by whom/which” when identifying an agent or mechanism.
- Use in which when you mean “in the place that,” “in the situation that,” “during the period that,” or “within the context that.”
Example:
- The process by which the machine works is complex.
- The room in which the machine operates is secure.
A simple rule is: by = method or means; in = place, situation, or context.
Understanding the Basics: By Which vs. In Which
The key to understanding by which or in which is to focus on the preposition.
The word which refers to a noun that appeared earlier in the sentence. The preposition before which tells us how that noun relates to the rest of the sentence.
Cambridge Grammar explains that which can function as a relative pronoun referring to things and can appear after a preposition in a relative clause. For example, phrases such as “at which,” “from which,” and “in which” are standard constructions.
Comparison Table
| Form | Type | Meaning | Example | Correct/Incorrect |
|---|---|---|---|---|
| by which | Preposition + relative pronoun | By means of which; through which | This is the method by which we communicate. | ✅ Correct |
| in which | Preposition + relative pronoun | In the place, situation, or context in which | This is the room in which we met. | ✅ Correct |
| by which | Relative construction | Through a particular process | The system by which payments are processed is secure. | ✅ Correct |
| in which | Relative construction | Within a particular situation | We entered a period in which prices increased. | ✅ Correct |
| by which for a location | Usually incorrect choice | Attempts to express location | The office by which I work. | ❌ Usually incorrect |
| in which for a method | Usually incorrect choice | Attempts to express a method | The method in which we solve it. | ❌ Usually incorrect |
The important point is that neither “by which” nor “in which” is automatically correct or incorrect. The meaning of the sentence determines the appropriate phrase.
What Does “By Which” Mean?
“By Which” Means “By the Method That”
One of the most common uses of by which is to describe a method or process.
Consider this sentence:
This is the method by which we solve the problem.
Here, by which means:
by the method that
The sentence tells us how the problem is solved.
Another example:
Scientists discovered the process by which plants convert sunlight into energy.
The phrase by which introduces the process that explains how something happens.
Examples of “By Which”
- This is the system by which payments are processed.
- She explained the procedure by which applications are reviewed.
- We studied the process by which the material changes.
- That is the technique by which the artist creates the effect.
- They developed a method by which students can practice online.
- The company created a system by which customers can track orders.
In each sentence, by which introduces a method, process, or mechanism.
Sentence Breakdown
Take this example:
The method by which the team solved the problem was simple.
Break it down:
- The method = the noun being described
- by which = introduces the relative clause
- the team solved the problem = explains the method
The basic idea is:
The team solved the problem by this method.
Therefore, by which makes sense.
What Does “In Which” Mean?
“In Which” Can Describe a Place
The phrase in which is often used to describe a place or physical setting.
For example:
This is the room in which we held the meeting.
The phrase in which means:
in the room that
A more conversational version would be:
This is the room where we held the meeting.
Both can be grammatical, although in which can sound more formal.
Cambridge Grammar notes that a preposition can come directly before which, especially in more formal writing.
Examples of “In Which” for Places
- This is the building in which she works.
- We visited the house in which he grew up.
- That is the room in which the interview took place.
- They entered a laboratory in which several experiments were underway.
- The hotel in which we stayed was comfortable.
In these examples, in which refers to a physical place.
“In Which” Can Also Describe a Situation
The phrase in which does not only describe physical locations.
It can also describe a situation, condition, circumstance, or context.
For example:
We faced a situation in which everyone had to make a quick decision.
Here, in which does not refer to a physical room. It refers to a situation.
The meaning is approximately:
in that situation
Examples
- It was a difficult situation in which nobody knew what to do.
- They created an environment in which students could learn.
- We entered a period in which major changes occurred.
- She described a situation in which communication had broken down.
- The company developed a culture in which employees felt valued.
So, remember:
“In which” can describe both physical and abstract settings.
By Which or In Which: The Main Difference
The easiest way to remember the difference is to ask a question.
Ask “How?”
If the answer is about how something happens, by which is often appropriate.
This is the process by which the data is collected.
Ask:
How is the data collected?
Answer:
By this process.
Therefore, by which works.
Ask “Where or In What Situation?”
If the answer describes a place, situation, condition, or context, in which is often appropriate.
This is the environment in which the children learn.
Ask:
In what environment do the children learn?
Answer:
In this environment.
Therefore, in which works.
A Simple Test Tip
Here is a quick test you can use whenever you are confused about by which or in which.
Test 1: Replace It With “By the Method”
If the phrase can be replaced with “by the method” or “through”, choose by which.
The process by which the machine operates is complicated.
Think:
The machine operates through this process.
✅ By which
Test 2: Replace It With “In That Place or Situation”
If you can replace the phrase with “in that place,” “in that situation,” or “within that context,” choose in which.
The situation in which we found ourselves was unexpected.
Think:
We found ourselves in that situation.
✅ In which
Memory Trick
BY = HOW
IN = WHERE / WHAT SITUATION
This small trick can help you make the right choice quickly. 🧠
Correct Meanings and Uses of “By Which”
1. By Which for a Method
The method by which the company calculates costs is confidential.
Here, the phrase explains how costs are calculated.
2. By Which for a Process
We examined the process by which the product is manufactured.
The focus is on the process used to manufacture the product.
3. By Which for a System
The system by which employees submit requests is easy to use.
The phrase identifies the system through which requests are submitted.
4. By Which for a Means or Mechanism
The mechanism by which the device stores information is highly efficient.
The phrase describes the mechanism that makes something happen.
5. By Which for Formal Explanations
By which is common in academic, technical, legal, and professional writing because it can express a precise relationship.
For example:
The agreement establishes the conditions by which the funds may be released.
The meaning is:
the conditions under which the funds may be released.
However, context matters. Sometimes under which would be more natural than by which.
Correct Meanings and Uses of “In Which”
1. In Which for Physical Locations
This is the office in which she works.
Meaning:
This is the office where she works.
2. In Which for Situations
We entered a situation in which every decision mattered.
Meaning:
We entered a situation where every decision mattered.
3. In Which for Conditions
The experiment was conducted under conditions in which the temperature remained constant.
Here, in which refers to the conditions surrounding the experiment.
4. In Which for Periods of Time
It was a period in which technology changed rapidly.
Here, in which means:
during that period
5. In Which for Context
The article discusses a context in which language can change quickly.
The phrase describes the context where the change occurs.
“By Which” vs. “In Which” in Everyday English
In everyday conversation, people often use simpler alternatives.
Instead of:
This is the house in which I grew up.
A speaker might say:
This is the house where I grew up.
Instead of:
This is the method by which we solve the problem.
A speaker might say:
This is how we solve the problem.
That does not mean in which and by which are wrong. They are simply more formal or specific in many contexts.
Cambridge Grammar explains that prepositions can appear directly before which, while more conversational English often places the preposition at the end of a relative clause.
Case Study: A Workplace Email
Imagine that a manager is explaining a new company process.
A formal email might say:
“We have introduced a new system by which employees can submit their expense reports.”
Why is by which correct?
Because the system is the means through which employees submit reports.
A different sentence might say:
“We have created a portal in which employees can review their submitted reports.”
Here, in which describes the portal as the setting or digital environment where employees review their reports.
Notice the difference:
- by which = the means or method
- in which = the environment or place
This distinction can make professional writing much clearer.
Grammar Rules: Why Are Both Forms Correct?
Both phrases contain:
- A preposition
- The relative pronoun which
The construction is commonly used in relative clauses.
Cambridge Grammar explains that which can refer to things and can function as the complement of a preposition. Examples include constructions such as “at which” and “from which.” The preposition can come before which, especially in formal writing.
Therefore:
the method by which we work
is grammatically structured as:
noun + preposition + relative pronoun + clause
Likewise:
the room in which we met
has the same basic structure.
The difference is not the grammar of which. The difference is the meaning of the preposition.
Why “By” Changes the Meaning
By commonly expresses a means or method:
We traveled by train.
She solved it by using a different method.
Therefore:
the method by which she solved it
makes sense.
Why “In” Changes the Meaning
In commonly expresses position, location, or inclusion within something:
We sat in the room.
They worked in a difficult situation.
Therefore:
the room in which we sat
and:
the situation in which they worked
are natural constructions.
Formal vs. Informal Alternatives
You can often rewrite these expressions in simpler ways.
| Formal Expression | Simpler Alternative |
|---|---|
| The method by which we communicate | The method that we use to communicate |
| The process by which it works | How it works |
| The room in which we met | The room where we met |
| The situation in which they worked | The situation where they worked |
| The period in which prices increased | The period when prices increased |
Cambridge Grammar notes that words such as where and when can sometimes be used instead of longer preposition-plus-relative constructions in defining relative clauses.
Common Mistakes With “By Which or In Which”
Many mistakes happen because both phrases sound formal and similar.
Mistake 1: Using “In Which” for a Method
❌ The method in which we solve the problem is effective.
This is usually awkward because a method is something by which or through which an action is performed.
Better:
✅ The method by which we solve the problem is effective.
Even more naturally:
✅ The method we use to solve the problem is effective.
Mistake 2: Using “By Which” for a Location
❌ This is the room by which we held the meeting.
The intended meaning is probably that the meeting happened in the room.
Better:
✅ This is the room in which we held the meeting.
Or:
✅ This is the room where we held the meeting.
Mistake 3: Confusing “By Which” With “Under Which”
Sometimes writers choose by which when under which is more precise.
For example:
The rules under which the program operates are strict.
Here, under which describes the conditions or rules governing something.
It would not normally be replaced with by which simply because both phrases sound formal.
Mistake 4: Choosing Based on Sound
Writers sometimes choose the phrase that “sounds better.”
That can cause errors.
Instead, identify the relationship:
- Method? → by
- Place? → in
- Situation? → in
- Conditions? → Often under
- Time? → Often in/on/during, depending on the noun
- Source? → from
- Purpose? → Often for
The preposition carries the meaning.
Similar Grammar Confusions
The confusion between by which or in which is part of a larger pattern in English. Small words can dramatically change meaning.
| Confusion | Correct Meaning | Example |
|---|---|---|
| its / it’s | Possession / it is | The dog wagged its tail. |
| your / you’re | Possession / you are | You’re holding your book. |
| their / they’re | Possession / they are | They’re in their office. |
| to / too | Direction or infinitive / also or excessively | I want to go too. |
| there / their / they’re | Place / possession / they are | They’re over there with their friends. |
| by / in | Method or means / place or situation | The method by which it works; the room in which it works. |
| affect / effect | Usually verb / usually noun | The change may affect the effect. |
These errors are common because English has many short words that sound natural in several different contexts.
Why Do These Mistakes Happen?
Fast Typing
When people type quickly, they often choose a familiar preposition without checking its meaning.
Autocorrect
Autocorrect may not understand the grammatical relationship in a sentence. It can correct spelling but may not choose the best preposition.
Lack of Grammar Knowledge
If a writer does not know how prepositions work, by which and in which can seem interchangeable.
Overly Formal Writing
Some writers think that using longer expressions automatically makes writing more professional.
It does not.
Clear writing is better than unnecessarily complicated writing.
Usage in Different Contexts
Everyday Conversation
In casual speech, shorter expressions are often more natural.
Instead of:
This is the house in which I lived.
You might say:
This is the house where I lived.
Instead of:
That is the process by which it works.
You might say:
That is how it works.
Both versions can be correct. The choice depends on tone and context.
Professional Writing
By which and in which can be useful in professional writing because they create precise relationships.
Example:
The procedure by which applications are evaluated has changed.
Example:
The environment in which employees work can affect productivity.
These forms are especially useful when you need a formal, exact tone.
Academic Writing
Academic writing often uses formal relative clauses.
For example:
The study examines the process by which individuals acquire new skills.
Or:
The researchers analyzed the environment in which the participants worked.
These structures allow writers to combine ideas without repeating nouns.
Creative Writing
Creative writers can use either form depending on style.
She remembered the room in which they had first met.
This sounds reflective and formal.
A more conversational style might be:
She remembered the room where they had first met.
Social Media and Texting
In texting and social media, people usually prefer shorter wording.
Instead of:
The process by which I made this video…
A person might simply write:
How I made this video…
Likewise:
The place in which we met…
would usually become:
The place where we met…
Formal grammar is still useful, but informal platforms often favor simplicity.
Why “By Which or In Which” Matters
Choosing the correct preposition makes your writing clearer.
1. Clarity in Communication
Compare:
The method by which the system operates…
with:
The method in which the system operates…
The first clearly focuses on the method. The second is generally awkward because in does not naturally express the intended method relationship.
2. Professionalism
Correct preposition use helps professional writing sound polished.
A small word can affect the entire relationship between ideas.
3. Accuracy in Digital Communication
Emails, reports, websites, applications, and online documents are often read quickly. Clear grammar helps readers understand your meaning without stopping to interpret your sentence.
4. Better Sentence Flow
Correct relative clauses let you connect ideas smoothly.
Instead of:
We use a process. The process helps us organize the information.
You can write:
We use a process by which we organize the information.
As a useful reminder:
“Clear writing begins with clear relationships between ideas.”
Special Exception and Edge Cases
There is no major special exception in which by which and in which suddenly become interchangeable. However, context can make other prepositions more appropriate.
For example:
The conditions under which the experiment was performed…
is different from:
The method by which the experiment was performed…
And:
The place in which the experiment was performed…
has a different meaning again.
The noun does not always determine the preposition by itself. The intended relationship does.
Compare These Three
The method by which…
Focuses on how something happens.
The conditions under which…
Focuses on the circumstances or rules surrounding something.
The place in which…
Focuses on where something happens.
This is why replacing every preposition with by or in is not a reliable grammar strategy.
Can You Say “Which … In” Instead?
Yes. In many cases, English allows the preposition to appear at the end of a relative clause, especially in less formal styles.
For example:
This is the room in which we met.
can become:
This is the room which we met in.
Or, more naturally:
This is the room where we met.
Cambridge Grammar explains that putting the preposition directly before which is more formal, while moving the preposition to the end is common in less formal language.
The same pattern can occur with other prepositions.
Formal:
The system by which the data is collected…
Less formal alternatives may include:
The system that the data is collected by…
However, this particular version may sound less natural than simply saying:
The system used to collect the data…
The best choice is not always the most formal one.
By Which or In Which: Quick Recap Checklist
Use this checklist whenever you are unsure.
| Question | If Yes → Use |
|---|---|
| Does it describe a method? | by which |
| Does it describe a means? | by which |
| Does it describe a process? | by which |
| Does it explain how something happens? | by which |
| Does it describe a physical place? | in which |
| Does it describe a situation? | in which |
| Does it describe an environment? | in which |
| Does it describe a period or context? | in which |
| Would “where” make sense? | Often in which |
| Would “through which” make sense? | Often by which |
Practice Example 1
This is the process ___ the company uses to approve requests.
Ask:
Is it describing a method?
Yes.
✅ by which
This is the process by which the company approves requests.
Practice Example 2
This is the office ___ the employees work.
Ask:
Is it describing a place?
Yes.
✅ in which
This is the office in which the employees work.
Practice Example 3
They faced a situation ___ everyone had to cooperate.
Ask:
Is it describing a situation?
Yes.
✅ in which
They faced a situation in which everyone had to cooperate.
Frequently Asked Questions About “By Which or In Which”
1. Is “by which” grammatically correct?
Yes. By which is grammatically correct when by expresses a method, means, process, or mechanism.
Example:
This is the method by which we solve the problem.
It means:
This is the method through which we solve the problem.
2. Is “in which” grammatically correct?
Yes. In which is grammatically correct when in expresses a place, situation, environment, condition, period, or context.
Example:
This is the room in which we met.
It means:
This is the room where we met.
3. What is the easiest way to remember by which or in which?
Remember:
BY = HOW
IN = WHERE / SITUATION
If you are explaining how something works, by which is often the right choice.
If you are describing where something happens or the situation in which it happens, in which is often the right choice.
4. Can “in which” mean “where”?
Yes. In many contexts, in which can be replaced by where.
Example:
The building in which she works is old.
More conversational:
The building where she works is old.
Both can be correct.
5. Can “by which” mean “through which”?
Yes. When by expresses a means or method, by which can often be understood as through which.
Example:
The process by which the information is transferred is complex.
This focuses on the means or process of transfer.
6. Which is more formal: “in which” or “where”?
In which often sounds more formal, especially when it is used in carefully structured written prose.
For example:
The environment in which the research was conducted…
sounds more formal than:
The environment where the research was conducted…
However, formal does not always mean better. Choose the form that makes your meaning clearest.
7. Can I use “by which” and “in which” interchangeably?
No. They can both introduce relative clauses, but they usually express different relationships.
Compare:
The method by which the machine operates.
and:
The environment in which the machine operates.
The first explains how the machine operates. The second explains where or within what environment it operates.
Conclusion
Understanding by which or in which becomes much easier when you stop focusing on the words as a fixed phrase and instead focus on the meaning of the preposition.
Use by which when you are talking about a method, means, process, or mechanism. For example, “The method by which the system works is efficient.” Here, the phrase answers the question how?
Use in which when you are talking about a place, situation, environment, period, or context. For example, “The situation in which they found themselves was difficult.” Here, the phrase answers where? or in what situation?
Both expressions are grammatically correct. The important thing is choosing the one that accurately expresses the relationship you mean.
When in doubt, remember this simple rule:
BY = HOW. IN = WHERE OR WHAT SITUATION.
Once you learn that distinction, choosing between by which or in which becomes much more natural—and your writing becomes clearer, more precise, and more professional. ✨

Hi, I am Ethan Parker. I work at Synolixa as a grammar and writing specialist, helping readers understand English grammar and improve their writing skills.
[…] in school assignments, emails, professional writing, websites, and everyday communication. ✨ By Which or In Which | At the House or In the House | Time Slot or […]