| Hardware and OS | Sony Xperia XZ4 Compact | |
| Operating system | Android v9.0 (Pie) | |
| Chipset | Qualcomm Snapdragon 845 | |
| Processor | Octa core (2.8 GHz, Quad core, Kryo 385 1.8 GHz, Quad core, Kryo 385) | |
| Graphics | Adreno 630 | |
| RAM | 4 GB | |
| Internal Storage | 64 GB | |
| Expandable memory | Yes Up to 400 GB | |
| Display | Sony Xperia XZ4 Compact | other phones |
| Type | IPS LCD | |
| Size | 5.0 inches | |
| Resolution | 1080 x 2160 pixels | |
| Pixel Density | 483 ppi | |
| Touchscreen | Yes Capacitive Touchscreen, Multi-touch | |
| Aspect ratio | 18:9 | |
| Screen to body ratio calculated | 69.35 % | |
| Connectivity | Sony Xperia XZ4 Compact | other phones |
| Network support | 4G , 3G, 2G | |
| WI-FI | Yes Wi-Fi 802.11, b/g/n | |
| Gps | Yes with A-GPS | |
| Bluetooth | Yes | |
| Dual SIM | Dual SIM, GSM GSM | |
| USB TYPE-C | Yes | |
| USB connectivity | Mass storage device, USB charging | |
| Camera | Sony Xperia XZ4 Compact | other phones |
| Main camera | 21 MP | |
| Image | 5160 x 3872 Pixels | |
| Front camera | 5 MP | |
| Camera features | Digital Zoom, Auto Flash, Face detection, Touch to focus | |
| Flash | Yes LED Flash | |
| Autofocus | Yes | |
| Design | Sony Xperia XZ4 Compact | other phones |
| Height | 139.9 mm | |
| Width | 66.5 mm | |
| Thickness | 9.3 mm | |
| Waterproof | Yes | |
| Battery | Sony Xperia XZ4 Compact | other phones |
| Capacity | 3000 mAh | |
| Type | Li-ion | |
| User replaceable | No | |
| Other | Sony Xperia XZ4 Compact | other phones |
| Fingerprint sensor | Yes | |
| Fingerprint sensor position | Side | |
| Other sensors | Light sensor, Proximity sensor, Accelerometer | |