An electrolyte for a nonaqueous electrolyte battery, comprising an ionic complex having a chemical structure represented by the following general formula: wherein in the general formula, D is at least one selected from a halogen ion, a hexafluorophosphate anion, a tetrafluoroborate anion, a bis(trifluoromethane sulfonyl)imide anion, a bis(fluorosulfonyl)imide anion, a (fluorosulfonyl)(trifluoromethane sulfonyl)imide anion, and a bis(difluorophosphonyl)imide anion; F is fluorine atom; M is any one selected from the group consisting of Al, B, Si, P, As, and Sb; O is oxygen atom; N is nitrogen atom; Y is carbon atom or sulfur atom, wherein when Y is carbon atom, q is 1, and when Y is sulfur atom, q is 1 or 2; X is carbon atom or sulfur atom, wherein when X is carbon atom, r is 1, and when X is sulfur atom, r is 1 or 2; R 1 represents a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 1 may have a branched chain or a ring structure when the number of carbon atoms is 3 or more, or -N(R 2)-, and R 2 at this time represents hydrogen atom, alkali metal atom, a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 2 can also have a branched chain or a ring structure when the number of carbon atoms is 3 or more; R 4 and R 5 each independently represents a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 4 and R 5 can also have a branched chain or a ring structure when a number of carbon atoms is 3 or more, and may also have a ring structure including each other as shown in the following general formula: c is 0 or 1, wherein when n is 1, c is 0, in which when c is 0, D is absent, and when n is 2, c is 1; o is 2 or 4, n is 1 or 2, p is 0 or 1, q is 1 or 2, r is 1 or 2, and s is 0 or 1, wherein when p is 0, a direct bond is formed between Y and X; when s is 0, N(R 4)(R 5) and R 1 are directly bonded to each other, and, at that time, can also have structures of the following to, wherein in and, the direct bond is a double bond, R 5 is absent, and as shown in, a structure in which the double bond is out of the ring may also be taken; and R 6 and R 7 in this case each independently represents hydrogen atom, a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein when the number of carbon atoms is 3 or more, R 6 and R 7 can also have a branched chain or a ring structure. D is at least one selected from a halogen ion, a hexafluorophosphate anion, a tetrafluoroborate anion, a bis(trifluoromethane sulfonyl)imide anion, a bis(fluorosulfonyl)imide anion, a (fluorosulfonyl)(trifluoromethane sulfonyl)imide anion, and a bis(difluorophosphonyl)imide anion; F is fluorine atom; M is any one selected from the group consisting of Al, B, Si, P, As, and Sb; O is oxygen atom; N is nitrogen atom; Y is carbon atom or sulfur atom, wherein when Y is carbon atom, q is 1, and when Y is sulfur atom, q is 1 or 2; X is carbon atom or sulfur atom, wherein when X is carbon atom, r is 1, and when X is sulfur atom, r is 1 or 2; R 1 represents a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 1 may have a branched chain or a ring structure when the number of carbon atoms is 3 or more, or -N(R 2)-, and R 2 at this time represents hydrogen atom, alkali metal atom, a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 2 can also have a branched chain or a ring structure when the number of carbon atoms is 3 or more; R 4 and R 5 each independently represents a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein R 4 and R 5 can also have a branched chain or a ring structure when a number of carbon atoms is 3 or more, and may also have a ring structure including each other as shown in the following general formula: c is 0 or 1, wherein when n is 1, c is 0, in which when c is 0, D is absent, and when n is 2, c is 1; o is 2 or 4, n is 1 or 2, p is 0 or 1, q is 1 or 2, r is 1 or 2, and s is 0 or 1, wherein when p is 0, a direct bond is formed between Y and X; when s is 0, N(R 4)(R 5) and R 1 are directly bonded to each other, and, at that time, can also have structures of the following to, wherein in and, the direct bond is a double bond, R 5 is absent, and as shown in, a structure in which the double bond is out of the ring may also be taken; and R 6 and R 7 in this case each independently represents hydrogen atom, a hydrocarbon group which may have a ring, a heteroatom, or a halogen atom, the hydrocarbon group having 1 to 10 carbon atoms, wherein when the number of carbon atoms is 3 or more, R 6 and R 7 can also have a branched chain or a ring structure.