English prepositions can be surprisingly confusing, especially when two phrases look similar but sound different in use. “By which” and “in which” often cause trouble because both can appear in formal writing, grammar exercises, legal documents, and academic sentences. Many learners know the words individually but are unsure which one fits a specific sentence.
This matters in everyday writing, speaking, exams, and professional communication because choosing the wrong preposition can make a sentence sound awkward or change its meaning. Once you understand the core difference between by and in, the choice becomes much easier. This guide explains the meaning, correct usage, grammar rules, sentence patterns, common mistakes, and practical examples so you can use both forms confidently.
What Do “By Which” and “In Which” Mean?
The simplest way to understand the difference is this:
- By which usually refers to a method, means, reason, agent, or way something happens.
- In which usually refers to something happening inside a situation, place, period, condition, or clause.
Basic idea
| Phrase | Main idea | Simple meaning |
| by which | method, means, cause, agency | through which, using which |
| in which | inside, within, during, under | inside which, within which, during which |
Simple examples
- The tool by which the problem was solved was expensive.
- The room in which they worked was cold.
In the first sentence, by which introduces the method or means.
In the second sentence, in which introduces the location.
Why learners get confused
The confusion happens because both phrases can connect two ideas in a sentence. However, they do not mean the same thing.
For example:
- By which answers: How? Through what? Using what?
- In which answers: Where? In what? During what? Inside what?
That difference is the key.
When to Use “By Which”
Use by which when you want to express the method, means, cause, process, or agent that does something.
Common situations for “by which”
- explaining a method
- describing a process
- showing the cause or reason
- referring to the person or thing that performs an action
- using a formal relative clause
Examples
- The bridge by which the village was connected collapsed in the storm.
- This is the method by which we calculate the score.
- The law by which the company operates was changed.
- The knife by which he cut the rope was sharp.
Easy meaning replacements
You can often replace by which with:
- through which
- using which
- with which
- through the help of which
depending on the context.
Important note
In modern English, people often prefer simpler wording instead of by which.
For example:
- Formal: This is the method by which the data are stored.
- More natural: This is how the data are stored.
Both are correct, but the second is simpler and more conversational.
When to Use “In Which”
Use in which when you refer to something happening inside a place, situation, period, condition, or clause.
Common situations for “in which”
- inside a room, building, or container
- during a time period
- within a condition or situation
- in a formal relative clause
- when “inside which” sounds right
Examples
- The office in which she works is on the second floor.
- The year in which he was born was difficult for the family.
- The situation in which they found themselves was dangerous.
- The box in which the documents were kept was locked.
Easy meaning replacements
You can often replace in which with:
- inside which
- within which
- during which
- where in many cases
More examples with plain English meaning
- The house in which they lived had three bedrooms.
= The house where they lived had three bedrooms. - The decade in which the reform happened changed education.
= The decade during which the reform happened changed education.
Important note
Like by which, in which is often more formal than everyday English. In ordinary conversation, many speakers use simpler alternatives such as where, when, or a rewritten sentence.
Side-by-Side Comparison Table: By Which vs In Which
Here is a clear comparison to help you see the difference quickly.
| Feature | By which | In which |
| Main meaning | method, means, cause | place, time, condition, situation |
| Common replacement | through which, using which | inside which, during which, where |
| Typical use | formal explanation of process | formal description of location or time |
| Best question to ask | How? Through what? | Where? When? Inside what? |
Sentence comparison
| Sentence with “by which” | Sentence with “in which” | Difference |
| The rule by which the game is played is simple. | The room in which the game is played is small. | one is method, the other is location |
| The method by which we solved it worked well. | The year in which it happened was unforgettable. | one is process, the other is time |
| The means by which she escaped were clever. | The box in which the letter was kept was old. | one is means, the other is place |
This table shows the core idea very clearly: by which = how, and in which = where/when/within what.
Grammar Rules and Sentence Structure
Both phrases usually appear in relative clauses, which are clauses that add information about a noun.
Relative clause pattern
- noun + by which + clause
- noun + in which + clause
Example structure
- The system by which students are selected is fair.
- The town in which she grew up is beautiful.
Formal grammar point
These phrases are especially common in:
- academic writing
- legal writing
- official documents
- formal essays
- advanced English reading passages
Informal alternatives
In many everyday sentences, English speakers prefer simpler wording.
| Formal | More natural |
| the house in which I live | the house where I live |
| the way by which he solved it | how he solved it |
| the year in which she arrived | the year she arrived / when she arrived |
| the method by which we learned | how we learned |
Rule of thumb
Ask these questions:
- If the sentence means how something happened, use by which.
- If the sentence means where, when, or inside what, use in which.
Correct examples
- The process by which the machine operates is complex.
- The city in which she studied was far away.
- The reason by which he justified his action was weak.
- The class in which we met was crowded.
Incorrect examples
- The process in which the machine operates is complex. ❌
This sounds wrong because the sentence is about a method, not a location. - The city by which she studied was far away. ❌
This sounds wrong because a city is a place, not a method.
Comparison Table: Correct and Incorrect Usage
The following table highlights common errors and the correct forms.
| Incorrect | Correct | Why |
| The method in which we solved it. | The method by which we solved it. | method = by which |
| The room by which she sat. | The room in which she sat. | room = in which |
| The year by which he was born. | The year in which he was born. | year = in which |
| The way in which he escaped. | The way by which he escaped. | way/method = by which |
| The box by which the letters were kept. | The box in which the letters were kept. | box = in which |
A helpful warning
Some nouns can work with either phrase depending on the meaning.
For example:
- The building in which the meeting was held.
- The plan by which the meeting was organized.
The noun alone does not decide the phrase. The meaning of the whole sentence does.
British vs American English
There is no major rule difference between British and American English for by which and in which. Both varieties understand and use these phrases in formal writing.
What differs in practice
The difference is more about style than grammar.
- British English may use formal relative clauses a bit more often in some contexts.
- American English often prefers simpler, more direct sentences.
Example in both varieties
- The house in which he lived was old.
- The method by which they solved the case was unusual.
These are acceptable in both British and American English.
More natural alternatives in both varieties
- The house where he lived was old.
- This is how they solved the case.
Main takeaway
The phrases are not region-specific. The choice depends on meaning and formality, not on whether you speak British or American English.
Pronunciation and Speaking Tips
These phrases are usually more common in writing than in casual speech, but pronunciation still matters.
Pronunciation guide
| Phrase | Basic pronunciation |
| by which | /baɪ wɪtʃ/ |
| in which | /ɪn wɪtʃ/ |
Speaking tips
- By which can sound formal and slightly stiff in conversation.
- In which also sounds formal, especially in written explanations.
- In speech, people often replace both with simpler words.
Example
Instead of saying:
- The room in which we met was crowded.
A speaker may say:
- The room where we met was crowded.
Instead of saying:
- This is the method by which we solved it.
A speaker may say:
- This is how we solved it.
Why this matters
Knowing the formal phrases helps you:
- understand books and articles
- write better essays
- answer grammar questions correctly
- sound precise in professional communication
Sentence Examples in Real Contexts
The best way to master these phrases is to see them in real sentences.
Examples of “by which”
- The test by which they measured progress was revised.
- The software by which the report was generated is outdated.
- The agreement by which the two companies merged was legally binding.
- The code by which the system identifies users is highly secure.
Examples of “in which”
- The office in which she works is very quiet.
- The month in which the project started was unusually hot.
- The folder in which I saved the file is missing.
- The moment in which they realized the truth changed everything.
Comparison in context
| Sentence | Best phrase | Why |
| The route ___ the travelers escaped was blocked. | by which | route = means or path |
| The city ___ they stayed was full of history. | in which | city = place |
| The year ___ the school opened was 1998. | in which | year = time |
| The method ___ he found the answer was impressive. | by which | method = process |
Rewriting into simpler English
Formal:
- The chair in which he sat was broken.
Simple:
- The chair he sat in was broken.
Formal:
- The method by which she won the case was clever.
Simple:
- How she won the case was clever.
This shows how formal grammar can often be rewritten in a clearer way.
Common Mistakes Learners Make
Even advanced learners sometimes use these phrases incorrectly. Here are the most common problems.
Mistake 1: Using “in which” for a method
❌ The way in which he fixed the problem was quick.
✅ The way by which he fixed the problem was quick.
Or more naturally:
✅ How he fixed the problem was quick.
Why?
Because way here refers to a method, not a place.
Mistake 2: Using “by which” for a place
❌ The house by which she lived was beautiful.
✅ The house in which she lived was beautiful.
Or more naturally:
✅ The house where she lived was beautiful.
Why?
A house is a place, so in which fits better.
Mistake 3: Making sentences too formal
Sometimes learners force by which or in which into every sentence.
❌ The phone in which I called you is new.
✅ The phone from which I called you is new.
or more naturally:
✅ The phone I called you from is new.
Why?
Choose the preposition that fits the real meaning.
Mistake 4: Using the wrong preposition because of a nearby noun
The noun alone does not always decide the phrase. The sentence meaning matters most.
For example:
- The process by which the result was achieved.
- The process in which the experiment was carried out.
The same noun, process, can be used differently depending on what the clause says.
Useful memory check
Ask:
- Is this about how something happens? → by which
- Is this about where/when/within what? → in which
Comparison Table: Formal Phrases and Simple Alternatives
Many learners understand the formal versions better when they see easier alternatives.
| Formal phrase | Simple alternative | Example |
| by which | how | This is how it works. |
| by which | through which | The tunnel through which they traveled was narrow. |
| in which | where | The town where she lives is peaceful. |
| in which | when | The year when he arrived was difficult. |
| in which | during which | The week during which we waited was stressful. |
Why this table helps
In real life, you do not always need the formal phrase. Often, a simpler structure sounds more natural and is easier to understand.
FAQs About “By Which” and “In Which”
Is “by which” correct English?
Yes. By which is correct, especially in formal writing when you want to express method, means, or cause.
Is “in which” correct English?
Yes. In which is correct when referring to place, time, situation, or something inside a noun phrase.
Which one is more common in everyday speech?
Neither is very common in casual conversation. People usually prefer simpler forms like where, when, or how.
Can I use “by which” and “in which” in essays?
Yes. They are especially useful in formal or academic writing, but do not overuse them. Clear writing is more important than sounding complicated.
Are they interchangeable?
No. They are not interchangeable. The meaning of the sentence decides which one is correct.
What is the easiest way to remember the difference?
Use this memory trick:
- By which = how
- In which = where/when/inside what
Should I avoid these phrases completely?
No. You should understand and use them when appropriate. Just make sure the sentence sounds natural and the meaning is correct.
Conclusion
The difference between by which and in which becomes much easier once you focus on meaning. Use by which when you want to talk about a method, means, cause, or way something happens. Use in which when you want to describe something inside a place, time period, situation, or condition.
A simple memory rule is:
- By which = how
- In which = where, when, or within what
So, you write:
- The method by which the problem was solved.
- The room in which the meeting took place.
Both phrases are correct, but they are not interchangeable. The best choice depends on what the sentence is really saying. Once you understand that, you can use both forms confidently in exams, formal writing, and professional communication without guessing.