<p>As of Craft 3, there is no limit by default.</p>
<p>Per the <a href="https://github.com/craftcms/cms/blob/main/CHANGELOG.md#300---2018-04-04" rel="nofollow noreferrer">CHANGELOG</a>:</p>
<blockquote>
<p>Element queries are no longer limited to 100 results by default.</p>
</blockquote>
<p><em>(Credit to Ben Croker who originally added this answer as a comment above. Adding this here as it would be better as the upvoted answer.)</em></p>

CC BY-SA 4.0
2021-05-19T12:17:18.103Z
2021-05-19T12:17:18.103Z
Ben Parizek
<p>Set the limit to null <code>limit(null)</code>.</p>

CC BY-SA 4.0
2020-07-21T17:58:19.590Z
This answer applies to Craft 2. As of Craft 3 there is no limit by default so setting `limit` to `null` is not necessary unless trying to override a previously set value.
Source: https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#300---2018-04-04
Ben Croker
CC BY-SA 4.0
2020-07-21T18:38:27.517Z
@BenCroker - glad I wasn't the only one who read the latest Craft Link List and suddenly thought of the Jumanji meme of "What Year is it??" :)
Patrick Harrington
CC BY-SA 3.0
2016-04-01T10:43:52.613Z
2016-04-01T10:43:52.613Z
carlcs
<p>There very definitely is a default limit of 100 and using .limit(null) will definitely override it. I know this because I recently had the same issue myself!</p>

CC BY-SA 3.0
2016-04-02T00:29:26.640Z
2016-04-02T00:29:26.640Z
Roi Agneta
<p>There seems to be a default limit to <code>for</code> loops in craft of <code>100</code>.</p>

<p>I have a channel with quite a few entries.</p>

<p>How can I disable this without writing nasty things like <code>.limit(100000000)</code></p>

CC BY-SA 3.0
2016-04-01T10:43:28.830Z
Does `.limit(null)` work?
joep
CC BY-SA 3.0
2016-04-01T10:44:40.290Z
@user1463467 beat me to it, why not post as a real answer?
carlcs
CC BY-SA 3.0
2016-04-01T10:48:31.230Z
Wasn't 100% sure and didn't want to lose my precious karma (I hate stackexchange with a passion).
joep
CC BY-SA 4.0
2020-07-21T17:57:12.003Z
This question applies to Craft 2. As of Craft 3 there is no limit by default.
Source: https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#300---2018-04-04
Ben Croker
<entries><limit><default>
Default Craft entry limit
# Default Craft entry limit

(Asked by: username_0 on 2016-04-01)

There seems to be a default limit to `for` loops in craft of `100`.

I have a channel with quite a few entries.

How can I disable this without writing nasty things like `.limit(100000000)`

**Tags:** entries, limit, default
> **Comments:**
> **username_1**: Does `.limit(null)` work?  
> **username_2**: @user1463467 beat me to it, why not post as a real answer?  
> **username_1**: Wasn't 100% sure and didn't want to lose my precious karma (I hate stackexchange with a passion).  
> **username_3**: This question applies to Craft 2. As of Craft 3 there is no limit by default. Source: https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#300---2018-04-04  

---

## 3 answers

### Answer by username_4 on 2021-05-19. Score: 4 | Accepted answer

As of Craft 3, there is no limit by default.

Per the [CHANGELOG](https://github.com/craftcms/cms/blob/main/CHANGELOG.md#300---2018-04-04):

> Element queries are no longer limited to 100 results by default.

*(Credit to Ben Croker who originally added this answer as a comment above. Adding this here as it would be better as the upvoted answer.)*


---

### Answer by username_2 on 2016-04-01. Score: 13

Set the limit to null `limit(null)`.

> **Comments:**
> **username_3**: This answer applies to Craft 2. As of Craft 3 there is no limit by default so setting `limit` to `null` is not necessary unless trying to override a previously set value. Source: https://github.com/craftcms/cms/blob/develop/CHANGELOG-v3.md#300---2018-04-04  
> **username_5**: @BenCroker - glad I wasn't the only one who read the latest Craft Link List and suddenly thought of the Jumanji meme of "What Year is it??" :)  

---

### Answer by username_6 on 2016-04-02. Score: 1

There very definitely is a default limit of 100 and using .limit(null) will definitely override it. I know this because I recently had the same issue myself!


---

