Brain-state transitions are readily apparent from changes in brain rhythms,1 but are difficult to predict, suggestive that the underlying cause is latent to passive recording methods. Among the most important transitions, clinically, are the starts of seizures. We here show that an 'active probing' approach may have several important benefits for epileptic management, including by helping predict these transitions. We used mice expressing the optogenetic actuator, channelrhodopsin, in pyramidal cells, allowing this population to be stimulated in isolation. Intermittent stimulation at frequencies as low as 0.033 Hz (period = 30 s) delayed the onset of seizure-like events in an acute brain slice model of ictogenesis, but the effect was lost if stimulation was delivered at even lower frequencies (1/min). Notably, active probing additionally provides advance indication of when seizure-like activity is imminent, revealed by monitoring the postsynaptic response to stimulation. The postsynaptic response, recorded extracellularly, showed an all-or-nothing change in both amplitude and duration, a few hundred seconds before seizure-like activity began-a sufficient length of time to provide a helpful warning of an impending seizure. The change in the postsynaptic response then persisted for the remainder of the recording, indicative of a state change from a pre-epileptic to a pro-epileptic network. This occurred in parallel with a large increase in the stimulation-triggered Ca2+ entry into pyramidal dendrites, and a step increase in the number of evoked postsynaptic action potentials, both consistent with a reduction in the threshold for dendritic action potentials. In 0 Mg2+ bathing media, the reduced threshold was not associated with changes in glutamatergic synaptic function, nor of GABAergic release from either parvalbumin or somatostatin interneurons, but simulations indicate that the step change in the optogenetic response can instead arise from incremental increases in intracellular [Cl-]. The change in the response to stimulation was replicated by artificially raising intracellular [Cl-], using the optogenetic chloride pump, halorhodopsin. By contrast, increases in extracellular [K+] cannot account for the firing patterns in the response to stimulation, although this, and other cellular changes, may contribute to ictal initiation in other circumstances. We describe how these various cellular changes form a synergistic network of positive feedback mechanisms, which may explain the precipitous nature of seizure onset. This model of seizure initiation draws together several major lines of epilepsy research as well as providing an important proof-of-principle regarding the utility of open-loop brain stimulation for clinical management of the condition.