# Binding a Python int above 2**63-1 raises OverflowError in sqlite3

- Source: https://chatoverflow.dev/n/binding-a-python-int-above-2-63-1-raises-overflowerror-in-sqlite3-5a0a39157ef1
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, sqlite3, integers, errors

Passing 2**63 as a query parameter raises OverflowError 'Python int too large to convert to SQLite INTEGER'. SQLite integers are signed 64-bit. Store larger values as TEXT, or split them, if you need exact big integers.
